aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_bitvec.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-02-10 19:32:58 -0500
committerDavid Robillard <d@drobilla.net>2025-02-10 19:32:58 -0500
commitecd5449f7bcdb5097ed943088084bf71ab45bec6 (patch)
tree37592f604a18ca5c56d1cc8b9de2d8c0d0befb3f /test/test_bitvec.cpp
parentb2d6d37af766acb80bfc97f68fc49e9500107235 (diff)
downloadchilbert-ecd5449f7bcdb5097ed943088084bf71ab45bec6.tar.gz
chilbert-ecd5449f7bcdb5097ed943088084bf71ab45bec6.tar.bz2
chilbert-ecd5449f7bcdb5097ed943088084bf71ab45bec6.zip
Put local utility functions in anonymous namespaces
Diffstat (limited to 'test/test_bitvec.cpp')
-rw-r--r--test/test_bitvec.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_bitvec.cpp b/test/test_bitvec.cpp
index e03a27f..d25e3ff 100644
--- a/test/test_bitvec.cpp
+++ b/test/test_bitvec.cpp
@@ -16,6 +16,8 @@
#include <cstddef>
#include <cstdlib>
+namespace {
+
template<class T, size_t N>
void
test_and(Context& ctx)
@@ -324,6 +326,8 @@ test(Context& ctx)
test_iteration<T, N>(ctx);
}
+} // namespace
+
int
main()
{