summaryrefslogtreecommitdiffhomepage
path: root/src/random.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/random.hpp')
-rw-r--r--src/random.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/random.hpp b/src/random.hpp
index 3616aabf..84d8ca2a 100644
--- a/src/random.hpp
+++ b/src/random.hpp
@@ -7,7 +7,7 @@ namespace floormat {
struct random_engine
{
- virtual inline ~random_engine();
+ virtual ~random_engine();
virtual std::common_type_t<std::size_t, std::uintptr_t, std::ptrdiff_t> operator()() = 0;
template<std::integral T>
@@ -25,8 +25,6 @@ struct random_engine
virtual float operator()(float min, float max) = 0;
};
-random_engine::~random_engine() = default;
-
[[maybe_unused]] extern random_engine& random; // NOLINT(cppcoreguidelines-avoid-non-const-global-variables)
} // namespace floormat