summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarco Trevisan (TreviƱo) <mail@3v1n0.net>2021-05-12 16:37:59 +0200
committerPhilip Chimento <philip.chimento@gmail.com>2021-05-17 22:37:27 -0700
commitfe97703b2185fcd9b71bc0a6b0e8f8103e58a34b (patch)
treea4d70a0c6f97eb68126892630217e9c196a53a18 /test
parent72ac583301bdd8281dee297b8b860a5b35b33f87 (diff)
downloadgjs-fe97703b2185fcd9b71bc0a6b0e8f8103e58a34b.tar.gz
mem-private: Do not use volatile for atomic values
Following what GLib did as well everywhere.
Diffstat (limited to 'test')
-rw-r--r--test/gjs-test-rooting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gjs-test-rooting.cpp b/test/gjs-test-rooting.cpp
index 72a66f4d..cb878554 100644
--- a/test/gjs-test-rooting.cpp
+++ b/test/gjs-test-rooting.cpp
@@ -24,7 +24,7 @@ void g_assertion_message(const char*, const char*, int, const char*,
static GMutex gc_lock;
static GCond gc_finished;
-static volatile int gc_counter;
+static int gc_counter;
#define PARENT(fx) ((GjsUnitTestFixture *)fx)
struct GjsRootingFixture {