From 594be5bf4f072bafa7565f55f49d0cc2dbe2c60c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 21 Jul 2024 06:00:04 +0000 Subject: [PATCH] Unify error message render with std::system_error. --- lib-shared/source/log.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-shared/source/log.hpp b/lib-shared/source/log.hpp index b991aa4a1..055626970 100644 --- a/lib-shared/source/log.hpp +++ b/lib-shared/source/log.hpp @@ -57,7 +57,7 @@ inline constexpr orc::Fiber *const orc_fiber = nullptr; orc::Log(orc_fiber) #define orc_log(log, text) \ - log << "[" << __FILE__ << ":" << std::dec << __LINE__ << "] " << text + log << text << " [" << __FILE__ << ":" << std::dec << __LINE__ << "]" #define orc_trace() do { \ orc_log(orc_Log() << "\e[31m", "orc_trace(): " << __FUNCTION__ << std::endl); \