After the merge of #18710, the linter is warning:
0A new Boost dependency in the form of "boost/thread/mutex.hpp" appears to have been introduced:
1src/sync.cpp:#include <boost/thread/mutex.hpp>
2src/test/sync_tests.cpp:#include <boost/thread/mutex.hpp>
3
4^---- failure generated from test/lint/lint-includes.sh
#18710 removed boost/thread/mutex.hpp
from lint-includes, however in the interim #19337 was merged, which introduced more boost::mutex
usage.
Given we no longer use boost::mutex
, just remove the double lock test and remaining includes.