]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test: fix compiler error
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 15 May 2025 17:29:55 +0000 (13:29 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 1 Oct 2025 18:46:47 +0000 (14:46 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/test/crypto.cc

index bb286de3054938c316f855d7daf2118a72f29b27..1fc90bf374a41eea670bf76e87b518f4a1499c6f 100644 (file)
@@ -355,7 +355,7 @@ static void dump_buf(string title, const unsigned char *buf, int len)
     if (i != 0 && i % 16 == 0) {
       cout << std::endl;
     }
-    std::cout << std::format("{:02x} ", buf[i]);
+    std::cout << fmt::format("{:02x} ", buf[i]);
   }
   std::cout << std::endl << std::endl;
 }