diff --git a/flow/flow.cpp b/flow/flow.cpp index f8c1190e16..aa4f465145 100644 --- a/flow/flow.cpp +++ b/flow/flow.cpp @@ -27,6 +27,8 @@ #include #include +#include + #include "flow/DeterministicRandom.h" #include "flow/Error.h" #include "flow/Hostname.h" @@ -130,7 +132,7 @@ Reference nondeterministicRandom() { } std::string UID::toString() const { - return format("%016llx%016llx", part[0], part[1]); + return fmt::format("{:016x}{:016x}", part[0], part[1]); } UID UID::fromString(std::string const& s) {