]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3207] Change the letter case
authorSlawek Figiel <slawek@isc.org>
Tue, 20 Feb 2024 07:51:09 +0000 (08:51 +0100)
committerSlawek Figiel <slawek@isc.org>
Tue, 20 Feb 2024 08:33:58 +0000 (09:33 +0100)
src/bin/perfdhcp/test_control.h

index c4ac292a8c70763deef985a34c44237ab1b12803..b72ac0b5336cb17c052e4a92b08e6b48e117c8bd 100644 (file)
@@ -195,19 +195,19 @@ public:
             NumberGenerator(),
             distribution(min, max) {
             // Initialize the randomness source with the current time.
-            randomnessGenerator.seed(time(0));
+            randomness_generator.seed(time(0));
         }
 
         /// \brief Generate number in range of [min, max].
         ///
         /// \return generated number.
         virtual uint32_t generate() {
-            return distribution(randomnessGenerator);
+            return distribution(randomness_generator);
         }
 
     private:
         std::uniform_int_distribution<> distribution;
-        std::mt19937 randomnessGenerator;
+        std::mt19937 randomness_generator;
     };
 
     /// \brief Length of the Ethernet HW address (MAC) in bytes.