diff options
author | David Robillard <d@drobilla.net> | 2020-07-18 11:29:39 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-18 11:29:39 +0200 |
commit | e296fff5f1d7345ce8f22efd37c1ec23e261fee1 (patch) | |
tree | bb3a53bb592336ffe3f2471a212fdb0cab03d196 | |
parent | e2d69c69ddf9cdc265c3be4d14e9ead2324f5629 (diff) | |
download | ingen-e296fff5f1d7345ce8f22efd37c1ec23e261fee1.tar.gz ingen-e296fff5f1d7345ce8f22efd37c1ec23e261fee1.tar.bz2 ingen-e296fff5f1d7345ce8f22efd37c1ec23e261fee1.zip |
Add missing static specifiers
-rw-r--r-- | src/ingen/ingen.cpp | 2 | ||||
-rw-r--r-- | tests/ingen_bench.cpp | 2 | ||||
-rw-r--r-- | 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> 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) |