From 6abc789577a86ffcdce8fae81b37f825d9ca4226 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 25 Nov 2017 12:50:11 +0000 Subject: Convert GenRandom to std::function. --- src/helperfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helperfuncs.cpp') 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 -- cgit v1.3.1-10-gc9f91