aboutsummaryrefslogtreecommitdiff
path: root/rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'rng.h')
-rw-r--r--rng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rng.h b/rng.h
index e843bbd..9ce2abd 100644
--- a/rng.h
+++ b/rng.h
@@ -18,8 +18,10 @@ class KeyRng : public Rng{
void stir();
public:
+ //throws invalid_argument if keylen<=0
KeyRng(const char *key,int keylen);
explicit KeyRng(const std::string &key);
+
KeyRng(const Rng&)=delete; //just keep it at one KeyRng please
~KeyRng();