Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.comx>2022-10-31 19:15:43 +0300
committergabime <gmelman1@gmail.comx>2022-10-31 19:15:43 +0300
commit130ff0c8db07824853fac15e634003da598680f0 (patch)
treec6e9cb12a6e99d737dc4e9aa73b9441fe216b273
parent31d6935b97ff47ee8e040fed71619ef3be25efdb (diff)
enable the ostream formatting for backward compatibility with fmt 8.x
-rw-r--r--include/spdlog/fmt/fmt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/spdlog/fmt/fmt.h b/include/spdlog/fmt/fmt.h
index d57ed002..73137085 100644
--- a/include/spdlog/fmt/fmt.h
+++ b/include/spdlog/fmt/fmt.h
@@ -22,6 +22,9 @@
// enable the 'n' flag in for backward compatibility with fmt 6.x
# define FMT_DEPRECATED_N_SPECIFIER
+// enable the ostream formatting for backward compatibility with fmt 8.x
+# define FMT_DEPRECATED_OSTREAM
+
// suppress "integral constant overflow" warning under msvc 2017 (which doesn't appear in other msvc versions)
#if defined(_MSC_VER) && ((_MSC_VER >= 1910) && (_MSC_VER <= 1916))
# pragma warning(push)