summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ingen/ingen.cpp2
-rw-r--r--tests/ingen_bench.cpp2
-rw-r--r--tests/ingen_test.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp
index 15544c10..80f7ab36 100644
--- a/src/ingen/ingen.cpp
+++ b/src/ingen/ingen.cpp
@@ -50,7 +50,7 @@ class DummyInterface : public Interface
void message(const Message& msg) override {}
};
-unique_ptr<World> world;
+static unique_ptr<World> world;
static void
ingen_interrupt(int signal)
diff --git a/tests/ingen_bench.cpp b/tests/ingen_bench.cpp
index 99abee97..e0232b01 100644
--- a/tests/ingen_bench.cpp
+++ b/tests/ingen_bench.cpp
@@ -35,7 +35,7 @@
using namespace std;
using namespace ingen;
-unique_ptr<World> world;
+static unique_ptr<World> world;
static void
ingen_try(bool cond, const char* msg)
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index 476fab64..eade1194 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -51,7 +51,7 @@
using namespace std;
using namespace ingen;
-unique_ptr<World> world;
+static unique_ptr<World> world;
static void
ingen_try(bool cond, const char* msg)