diff options
author | David Robillard <d@drobilla.net> | 2022-12-13 01:23:28 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-12-14 18:04:27 -0500 |
commit | 5d6ab4915c3b93f534c45bb6f84bf3273221e87c (patch) | |
tree | cfa2693d677a8261d5d2ab0125b7369dc39a7f86 /tests | |
parent | 513296b868df8a3c5a55290d3146cba017418926 (diff) | |
download | ingen-5d6ab4915c3b93f534c45bb6f84bf3273221e87c.tar.gz ingen-5d6ab4915c3b93f534c45bb6f84bf3273221e87c.tar.bz2 ingen-5d6ab4915c3b93f534c45bb6f84bf3273221e87c.zip |
Concatenate nested namespaces
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ingen_bench.cpp | 6 | ||||
-rw-r--r-- | tests/ingen_test.cpp | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/tests/ingen_bench.cpp b/tests/ingen_bench.cpp index 07a59f9b..369aeb2a 100644 --- a/tests/ingen_bench.cpp +++ b/tests/ingen_bench.cpp @@ -32,8 +32,7 @@ #include <memory> #include <string> -namespace ingen { -namespace bench { +namespace ingen::bench { namespace { std::unique_ptr<ingen::World> world; @@ -145,8 +144,7 @@ run(int argc, char** argv) } } // namespace -} // namespace bench -} // namespace ingen +} // namespace ingen::bench int main(int argc, char** argv) diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index 9dfc3641..ec89c40c 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -49,8 +49,7 @@ #include <string> #include <utility> -namespace ingen { -namespace test { +namespace ingen::test { namespace { std::unique_ptr<World> world; @@ -240,8 +239,7 @@ run(int argc, char** argv) } } // namespace -} // namespace test -} // namespace ingen +} // namespace ingen::test int main(int argc, char** argv) |