From 8745a54f88f31cd51dc86c96039ebe0b3e98f5ea Mon Sep 17 00:00:00 2001
From: Benoit Germain <benoit.germain@ubisoft.com>
Date: Thu, 24 Oct 2024 10:33:02 +0200
Subject: Added strong types UserValueCount and UnusedInt

---
 src/linda.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/linda.h')

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
         : linda{ linda_ }
         , L{ L_ }
         {
-            [[maybe_unused]] int const _prev{ linda.keeperOperationCount.fetch_add(1, std::memory_order_seq_cst) };
+            [[maybe_unused]] UnusedInt const _prev{ linda.keeperOperationCount.fetch_add(1, std::memory_order_seq_cst) };
         }
 
         public:
         ~KeeperOperationInProgress()
         {
-            [[maybe_unused]] int const _prev{ linda.keeperOperationCount.fetch_sub(1, std::memory_order_seq_cst) };
+            [[maybe_unused]] UnusedInt const _prev{ linda.keeperOperationCount.fetch_sub(1, std::memory_order_seq_cst) };
         }
     };
 
-- 
cgit v1.2.3-55-g6feb