commit | 920f6572c648ad43a701f6a7b8bd413050f63dc0 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Thu Oct 06 12:09:49 2022 -0700 |
committer | Andy Hung <hunga@google.com> | Thu Mar 30 18:48:14 2023 -0700 |
tree | 652138650858109adbdba5a041c4e211e7a11826 | |
parent | 7dd4c76232939e595726f460efd9e11aa69b5b35 [diff] [blame] |
AudioFlinger: Add clang tidy checks on build First pass just enables warnings. Test: compiles Bug: 252907478 Merged-In: I3d0622ab908b85adb1913d8482d55e1950fdccc0 Change-Id: I3d0622ab908b85adb1913d8482d55e1950fdccc0
diff --git a/services/audioflinger/PatchCommandThread.h b/services/audioflinger/PatchCommandThread.h index b7853f0..b52e0a9 100644 --- a/services/audioflinger/PatchCommandThread.h +++ b/services/audioflinger/PatchCommandThread.h
@@ -84,7 +84,7 @@ class ReleaseAudioPatchData : public CommandData { public: - ReleaseAudioPatchData(audio_patch_handle_t handle) + explicit ReleaseAudioPatchData(audio_patch_handle_t handle) : mHandle(handle) {} audio_patch_handle_t mHandle;