diff options
author | Peter Powell <petpow@saberuk.com> | 2017-11-25 12:50:11 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-11-25 13:38:02 +0000 |
commit | 6abc789577a86ffcdce8fae81b37f825d9ca4226 (patch) | |
tree | 6c485e33261a0e4dfab8005e2f93b3063a7b98b5 /src/helperfuncs.cpp | |
parent | 1dca8b79edf65c0e5e846cc120f1321fb0a1d15c (diff) |
Convert GenRandom to std::function.
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r-- | src/helperfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index a24401542..b80a3897c 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -415,7 +415,7 @@ unsigned long InspIRCd::GenRandomInt(unsigned long max) } // This is overridden by a higher-quality algorithm when SSL support is loaded -void GenRandomHandler::Call(char *output, size_t max) +void InspIRCd::DefaultGenRandom(char* output, size_t max) { for(unsigned int i=0; i < max; i++) #ifdef _WIN32 |