From a24ab2cd92bbeddb9c1780cdaae6d60745144f8c Mon Sep 17 00:00:00 2001 From: r4dish Date: Tue, 4 Apr 2023 02:17:34 +0300 Subject: Fix a few warnings reported by MSVC compiler --- src/tools/StringTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/StringTools.cpp') diff --git a/src/tools/StringTools.cpp b/src/tools/StringTools.cpp index 3e5e6c4..cc5436f 100644 --- a/src/tools/StringTools.cpp +++ b/src/tools/StringTools.cpp @@ -63,7 +63,7 @@ string generateRandomString(std::size_t length) { random_device randomDevice; mt19937 randomSeed(randomDevice()); - uniform_int_distribution generator(0, charsLen - 1); + uniform_int_distribution generator(0, charsLen - 1); for (std::size_t i = 0; i < length; ++i) { result += chars[generator(randomSeed)]; -- cgit v1.2.3