random source now correct interface (static)
This commit is contained in:
1 parent
41942d9120
commit
1c7e556e7e
1 file changed
+2
-2
+2
-2
@@ -18,8 +18,8 @@ public:
|
|||||||
result_type operator()() const { return esp_random(); }
|
result_type operator()() const { return esp_random(); }
|
||||||
|
|
||||||
double entropy() const { return 1.; }
|
double entropy() const { return 1.; }
|
||||||
result_type min() const { return std::numeric_limits<result_type>::min(); }
|
static result_type min() { return std::numeric_limits<result_type>::min(); }
|
||||||
result_type max() const { return std::numeric_limits<result_type>::max(); }
|
static result_type max() { return std::numeric_limits<result_type>::max(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
std::string randomString(std::size_t length)
|
std::string randomString(std::size_t length)
|
||||||
|
|||||||
Reference in new issue
Block a user