diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-03-13 00:05:53 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-05-05 16:51:22 +0200 |
commit | 47782b49e67599585cd766c8322ca01764fe5aa7 (patch) | |
tree | 668dbca22e659aaf306262c76cc0af6a4bbf0b53 /src/test | |
parent | 0e2dfa8a65091504b27a0b9d66ee4415fe2b7b37 (diff) |
Add Clang thread safety analysis annotations
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/mempool_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/mempool_tests.cpp b/src/test/mempool_tests.cpp index c4b18151a7..5ca243f42e 100644 --- a/src/test/mempool_tests.cpp +++ b/src/test/mempool_tests.cpp @@ -106,7 +106,7 @@ BOOST_AUTO_TEST_CASE(MempoolRemoveTest) } template<typename name> -static void CheckSort(CTxMemPool &pool, std::vector<std::string> &sortedOrder) +static void CheckSort(CTxMemPool &pool, std::vector<std::string> &sortedOrder) EXCLUSIVE_LOCKS_REQUIRED(pool.cs) { BOOST_CHECK_EQUAL(pool.size(), sortedOrder.size()); typename CTxMemPool::indexed_transaction_set::index<name>::type::iterator it = pool.mapTx.get<name>().begin(); |