summaryrefslogtreecommitdiff
path: root/src/generic/random.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/generic/random.hpp')
-rw-r--r--src/generic/random.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/generic/random.hpp b/src/generic/random.hpp
index 3b27b36..71883cc 100644
--- a/src/generic/random.hpp
+++ b/src/generic/random.hpp
@@ -25,6 +25,9 @@
# include <random>
+
+namespace tmwa
+{
// This is not namespace random since that collides with a C function,
// but this can be revisited when everything goes into namespace tmwa.
namespace random_
@@ -83,5 +86,6 @@ namespace random_
return random_::choice(il);
}
} // namespace random_
+} // namespace tmwa
#endif // TMWA_GENERIC_RANDOM_HPP