aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/randomization.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/randomization.hpp')
-rw-r--r--src/interfaces/randomization.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/randomization.hpp b/src/interfaces/randomization.hpp
index 78456a2..9eeec0a 100644
--- a/src/interfaces/randomization.hpp
+++ b/src/interfaces/randomization.hpp
@@ -6,6 +6,8 @@
class ISeedGenerator
{
public:
+ virtual ~ISeedGenerator() = default;
+
[[nodiscard]] virtual unsigned int random_seed() const = 0;
};
@@ -17,6 +19,8 @@ using ISeedGeneratorFactory = std::function<std::shared_ptr<ISeedGenerator>()>;
class IRandomNumberGenerator
{
public:
+ virtual ~IRandomNumberGenerator() = default;
+
/**
* Returns a number in the range of a to b.
*