aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/mutex.h
diff options
context:
space:
mode:
authortobo <tobo@yandex-team.ru>2022-02-28 12:04:09 +0300
committertobo <tobo@yandex-team.ru>2022-02-28 12:04:09 +0300
commitf23d808d6c8b0f50c51b44baad1f919cab389cde (patch)
treeee9e3d708973bee4d463605de2414bbf7946d853 /util/system/mutex.h
parentfe01c5041a843ee05cf4bf58b020eba53b909caf (diff)
downloadydb-f23d808d6c8b0f50c51b44baad1f919cab389cde.tar.gz
clang-tidy - move-constructor and move-assignment operators should be marked noexcept + pass some args by reference
ref:5da43163e6b3c2499597234dc80ad47042259013
Diffstat (limited to 'util/system/mutex.h')
-rw-r--r--util/system/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/mutex.h b/util/system/mutex.h
index 032630d134..2899ed9a50 100644
--- a/util/system/mutex.h
+++ b/util/system/mutex.h
@@ -36,7 +36,7 @@ public:
class TMutex {
public:
TMutex();
- TMutex(TMutex&&);
+ TMutex(TMutex&&) noexcept;
~TMutex();
void Acquire() noexcept;