Index: src/IceRNG.h |
diff --git a/src/IceRNG.h b/src/IceRNG.h |
index 5f862a8537274cf9f18714a4f47e9e22ff5ea86a..bb2ac45751c174506a613809281547594a81fc24 100644 |
--- a/src/IceRNG.h |
+++ b/src/IceRNG.h |
@@ -42,7 +42,7 @@ class RandomNumberGeneratorWrapper { |
operator=(const RandomNumberGeneratorWrapper &) = delete; |
public: |
- uint64_t next(uint64_t Max) { return RNG.next(Max); } |
+ uint64_t operator()(uint64_t Max) { return RNG.next(Max); } |
bool getTrueWithProbability(float Probability); |
RandomNumberGeneratorWrapper(RandomNumberGenerator &RNG) : RNG(RNG) {} |