Skip to content

Commit 1ea03b3

Browse files
committed
fix MSVC build
1 parent ec3ce0c commit 1ea03b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helper/color_literals.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ static_assert("hsv(0, 0, 0.79)"_c == "#C9C9C9"_c);
754754
// (which has a optional access without check, but the CI detects errors in those strings on other platforms and compilers at compiler time,
755755
// so that's not that bad)
756756
#if defined(_MSC_VER)
757-
#define COLOR_LITERAL(color_string) color::from_string(color_string).value() //NOLINT(cppcoreguidelines-macro-usage)
757+
#define COLOR_LITERAL(color_string) Color::from_string(color_string).value() //NOLINT(cppcoreguidelines-macro-usage)
758758
#else
759759
#define COLOR_LITERAL(color_string) color_string##_c //NOLINT(cppcoreguidelines-macro-usage)
760760
#endif

0 commit comments

Comments
 (0)