diff options
Diffstat (limited to 'src/linda.h')
-rw-r--r-- | src/linda.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linda.h b/src/linda.h index ea660d9..c05fb14 100644 --- a/src/linda.h +++ b/src/linda.h | |||
@@ -30,13 +30,13 @@ class Linda | |||
30 | : linda{ linda_ } | 30 | : linda{ linda_ } |
31 | , L{ L_ } | 31 | , L{ L_ } |
32 | { | 32 | { |
33 | [[maybe_unused]] int const _prev{ linda.keeperOperationCount.fetch_add(1, std::memory_order_seq_cst) }; | 33 | [[maybe_unused]] UnusedInt const _prev{ linda.keeperOperationCount.fetch_add(1, std::memory_order_seq_cst) }; |
34 | } | 34 | } |
35 | 35 | ||
36 | public: | 36 | public: |
37 | ~KeeperOperationInProgress() | 37 | ~KeeperOperationInProgress() |
38 | { | 38 | { |
39 | [[maybe_unused]] int const _prev{ linda.keeperOperationCount.fetch_sub(1, std::memory_order_seq_cst) }; | 39 | [[maybe_unused]] UnusedInt const _prev{ linda.keeperOperationCount.fetch_sub(1, std::memory_order_seq_cst) }; |
40 | } | 40 | } |
41 | }; | 41 | }; |
42 | 42 | ||