commit | d2639aa747a380a0746a4c3eaaee17ea41944d21 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Thu Feb 28 11:58:32 2019 -0800 |
committer | Yi Kong <yikong@google.com> | Thu Feb 28 12:02:38 2019 -0800 |
tree | 37e5d695e96465cbef456dd52b6cb9566f425cfe | |
parent | fce78ba299e21056a6b40df97a370d48032ae989 [diff] |
Fix ctad-maybe-unsupported warning The upcoming compiler warns about the following code pattern: frameworks/native/libs/gui/SurfaceComposerClient.cpp:192:5: error: 'lock_guard' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported] std::lock_guard lock(mMutex); Add explicit deduction guide to fix the warning. Test: m checkbuild Change-Id: I4b8b22cdd9b9714d0dfc56c1590a19fcdfbbeb07