-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conntrack: replace std::mutex with Thread::MutexBasicLockable
Upstream Envoy linting prevents usages of `std::mutex` in favor of `Thread::MutexBasicLockable`. See https://github.com/envoyproxy/envoy/blob/main/tools/code_format/check_format.py#L605-L610 ``` report_error( "Don't use <mutex> or <condition_variable*>, switch to " "Thread::MutexBasicLockable in source/common/common/thread.h") ``` This error occurred while trying to cleanup the imports - and therefore adding the direct dependency to `<mutex>`. See #1089 Signed-off-by: Marco Hofstetter <[email protected]>
- Loading branch information
1 parent
dfaf444
commit 0430df5
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters