From 2552c5702fa9391e6715e6d925a5fd3b36fcd6c6 Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Mon, 6 Feb 2023 22:19:48 +0000 Subject: [PATCH] [GL] Enabled ostream formatting with fmt lib See https://fmt.dev/latest/api.html#std-ostream-support --- GeoLib/AABB.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/GeoLib/AABB.h b/GeoLib/AABB.h index 05840e63213..3a05f55a50b 100644 --- a/GeoLib/AABB.h +++ b/GeoLib/AABB.h @@ -283,3 +283,11 @@ private: } }; } // namespace GeoLib + +namespace fmt +{ +template <> +struct formatter<::GeoLib::AABB> : ostream_formatter +{ +}; +} // namespace fmt -- GitLab