This commit is contained in:
Alexander Tokmakov 2023-01-24 01:11:58 +01:00
parent 414693feb2
commit c6910f39b9
2 changed files with 4 additions and 4 deletions

View File

@ -5,11 +5,11 @@
/// Saves a format string for already formatted message
struct PreformattedMessage
{
String message;
std::string message;
std::string_view format_string;
operator const String & () const { return message; }
operator String () && { return std::move(message); }
operator const std::string & () const { return message; }
operator std::string () && { return std::move(message); }
operator fmt::format_string<> () const { UNREACHABLE(); }
};