commit | 9053d1a6fccf376b8d2a96cccd4370403f5a86d9 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Sun Jun 02 04:29:38 2024 +0900 |
committer | Yi Kong <yikong@google.com> | Sun Jun 02 04:29:38 2024 +0900 |
tree | 9304b0c4c6b1a548a78ffc8720d22566012f4a21 | |
parent | 56e050362dffbd385a198428c34683a3b0209538 [diff] |
Fix build on clang-r522817 hardware/interfaces/automotive/can/1.0/tools/libprotocan/MessageInjector.cpp:44:8: error: no member named 'lock_guard' in namespace 'std' 44 | std::lock_guard<std::mutex> lock(mMessagesGuard); | ~~~~~^ Bug: 322868540 Test: presubmit Change-Id: I45cd6a8420e508a37e2b6da456933c036493e15e
diff --git a/automotive/can/1.0/tools/libprotocan/include/libprotocan/MessageInjector.h b/automotive/can/1.0/tools/libprotocan/include/libprotocan/MessageInjector.h index b0ea260..e35feee 100644 --- a/automotive/can/1.0/tools/libprotocan/include/libprotocan/MessageInjector.h +++ b/automotive/can/1.0/tools/libprotocan/include/libprotocan/MessageInjector.h
@@ -22,6 +22,7 @@ #include <libprotocan/MessageDef.h> #include <utils/Mutex.h> +#include <mutex> #include <queue> namespace android::hardware::automotive::protocan {