+2
-9
lines changedFilter options
+2
-9
lines changed Original file line number Diff line number Diff line change
@@ -943,8 +943,6 @@ FMT_API auto write_console(int fd, string_view text) -> bool;
943
943
FMT_API void print(FILE*, string_view);
944
944
} // namespace detail
945
945
946
-
FMT_BEGIN_EXPORT
947
-
948
946
// Suppress a misleading warning in older versions of clang.
949
947
FMT_PRAGMA_CLANG(diagnostic ignored "-Wweak-vtables")
950
948
@@ -967,22 +965,17 @@ template <typename Char, size_t N> struct fixed_string {
967
965
968
966
// Converts a compile-time string to basic_string_view.
969
967
template <typename Char, size_t N>
970
-
constexpr auto compile_string_to_view(const Char (&s)[N])
968
+
FMT_EXPORT constexpr auto compile_string_to_view(const Char (&s)[N])
971
969
-> basic_string_view<Char> {
972
970
// Remove trailing NUL character if needed. Won't be present if this is used
973
971
// with a raw character array (i.e. not defined as a string).
974
972
return {s, N - (std::char_traits<Char>::to_int_type(s[N - 1]) == 0 ? 1 : 0)};
975
973
}
976
974
template <typename Char>
977
-
constexpr auto compile_string_to_view(basic_string_view<Char> s)
975
+
FMT_EXPORT constexpr auto compile_string_to_view(basic_string_view<Char> s)
978
976
-> basic_string_view<Char> {
979
977
return s;
980
978
}
981
-
} // namespace detail
982
-
983
-
FMT_END_EXPORT
984
-
985
-
namespace detail {
986
979
987
980
// Returns true if value is negative, false otherwise.
988
981
// Same as `value < 0` but doesn't produce warnings if T is an unsigned type.
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4