Skip to content

Commit 670ddcd

Browse files
committed
Change runtime_format_string and compile_string from class to struct
1 parent d7ac9af commit 670ddcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/fmt/base.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ class locale_ref {
907907
FMT_END_EXPORT
908908

909909
// forward declaration
910-
template <typename Char> class runtime_format_string;
910+
template <typename Char> struct runtime_format_string;
911911

912912
namespace detail {
913913

@@ -944,7 +944,7 @@ constexpr auto to_string_view(runtime_format_string<Char> s)
944944
return s.str;
945945
}
946946
// forward declaration of internal compile-time string type base
947-
class compile_string;
947+
struct compile_string;
948948
template <typename Char, typename S,
949949
FMT_ENABLE_IF(std::is_base_of<detail::compile_string, S>::value&&
950950
std::is_same<typename S::char_type, Char>::value)>

0 commit comments

Comments
 (0)