Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Oct 31, 2023
1 parent 18c0b31 commit 035fbc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/MaaUtils/Logger/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ std::string Logger::LogStream::stdout_string()
return color + utf8_to_crt(buffer_.str()) + "\033[0m";
}

constexpr std::string_view Logger::LogStream::level_str()
std::string_view Logger::LogStream::level_str()
{
switch (lv_) {
case level::fatal:
Expand Down
2 changes: 1 addition & 1 deletion source/include/Utils/Logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ class MAA_UTILS_API Logger
}

std::string stdout_string();
constexpr std::string_view level_str();
std::string_view level_str();

private:
std::mutex& mutex_;
Expand Down

0 comments on commit 035fbc9

Please sign in to comment.