summaryrefslogtreecommitdiffstats
path: root/src/ClientID.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientID.hpp')
-rw-r--r--src/ClientID.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ClientID.hpp b/src/ClientID.hpp
index 9d4c361..d73e45e 100644
--- a/src/ClientID.hpp
+++ b/src/ClientID.hpp
@@ -5,6 +5,12 @@
#define PATCHAGE_CLIENTID_HPP
#include "ClientType.hpp"
+#include "warnings.hpp"
+
+PATCHAGE_DISABLE_FMT_WARNINGS
+#include <fmt/core.h>
+#include <fmt/ostream.h>
+PATCHAGE_RESTORE_WARNINGS
#include <cassert>
#include <cstdint>
@@ -111,4 +117,7 @@ operator<(const ClientID& lhs, const ClientID& rhs)
} // namespace patchage
+template<>
+struct fmt::formatter<patchage::ClientID> : fmt::ostream_formatter {};
+
#endif // PATCHAGE_CLIENTID_HPP