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
This commit is contained in:
Yi Kong 2024-06-02 04:29:38 +09:00
parent 56e050362d
commit 9053d1a6fc

View file

@ -22,6 +22,7 @@
#include <libprotocan/MessageDef.h> #include <libprotocan/MessageDef.h>
#include <utils/Mutex.h> #include <utils/Mutex.h>
#include <mutex>
#include <queue> #include <queue>
namespace android::hardware::automotive::protocan { namespace android::hardware::automotive::protocan {