From e296fff5f1d7345ce8f22efd37c1ec23e261fee1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Jul 2020 11:29:39 +0200 Subject: Add missing static specifiers --- src/ingen/ingen.cpp | 2 +- tests/ingen_bench.cpp | 2 +- tests/ingen_test.cpp | 2 +- 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; +static unique_ptr 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; +static unique_ptr 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; +static unique_ptr world; static void ingen_try(bool cond, const char* msg) -- cgit v1.2.1