summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-12-02 11:07:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-12-02 13:11:04 +0100
commit93197c83cae3f3da5fb3f3ba55a7909336079a44 (patch)
treeaa2a386c6a1a5554779e8aa6fc7e689bac548306 /compat
parent9a0ac7c7fd06a60f0e61b88828eaa59c0ee30fdd (diff)
cmake: try to fix ci link error
Diffstat (limited to 'compat')
-rw-r--r--compat/format.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/format.hpp b/compat/format.hpp
index dbf86e1e..faf776f0 100644
--- a/compat/format.hpp
+++ b/compat/format.hpp
@@ -2,7 +2,7 @@
#include <fmt/core.h>
#include <fmt/compile.h>
-#ifndef _MSC_VER
+#if !FMT_USE_NONTYPE_TEMPLATE_ARGS
namespace floormat::detail::fmt {
template<std::size_t N>
struct fmt_string final {
@@ -20,7 +20,7 @@ struct fmt_string final {
namespace floormat {
-#ifndef _MSC_VER
+#if !FMT_USE_NONTYPE_TEMPLATE_ARGS
template<::floormat::detail::fmt::fmt_string s>
consteval auto operator""_cf() noexcept
{