]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/beast/test/beast/websocket/_detail_prng.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / beast / test / beast / websocket / _detail_prng.cpp
index 882940e07976eed004742f6bff23fff0441e7b0d..bf826bd9997b09479711b8c7f2c6ff438b2a3bd8 100644 (file)
@@ -42,20 +42,20 @@ public:
     void
     testPrng(F const& f)
     {
-        auto const min = std::numeric_limits<std::uint32_t>::min();
-        auto const max = std::numeric_limits<std::uint32_t>::max();
+        auto const mn = (std::numeric_limits<std::uint32_t>::min)();
+        auto const mx = (std::numeric_limits<std::uint32_t>::max)();
 
         {
             auto v = f()();
             BEAST_EXPECT(
-                v >= min &&
-                v <= max);
+                v >= mn &&
+                v <= mx);
         }
         {
             auto v = f()();
             BEAST_EXPECT(
-                v >= min &&
-                v <= max);
+                v >= mn &&
+                v <= mx);
         }
     }