Enable clang tidy/warnings for tests
[alexxy/gromacs.git] / src / gromacs / utility / tests / mutex.cpp
index 4fbc0ad947d27d44995105fdae49afd3823b2d4e..2cc6990c152573ec82bf0a55979ac35e1ce6e1f8 100644 (file)
@@ -94,9 +94,9 @@ TEST(MutexBasicTest, CanBeUsedInLockGuard)
 }
 
 //! A shared value for a mutex to protect
-static int   g_sharedValue;
+int   g_sharedValue;
 //! A mutex to protect a shared value
-static Mutex g_sharedValueMutex;
+Mutex g_sharedValueMutex;
 
 //! Function type for asynchronous tasks.
 using TaskType = std::function<int(void)>;