summaryrefslogtreecommitdiff
path: root/src/helpers/math/Expression.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-12-18 17:23:24 +0000
committerGitHub <noreply@github.com>2025-12-18 17:23:24 +0000
commit6175ecd4c4ba817c4620f66a75e1e11da7c7a8ca (patch)
treecf73852f1fc08b1dcee5a3a7380f914aaad9c50a /src/helpers/math/Expression.cpp
parentf88deb928a0f7dc02f427473f8c29e8f2bed14a3 (diff)
debug: move to hyprutils' logger (#12673)
Diffstat (limited to 'src/helpers/math/Expression.cpp')
-rw-r--r--src/helpers/math/Expression.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/math/Expression.cpp b/src/helpers/math/Expression.cpp
index fb28628d..3c0bee91 100644
--- a/src/helpers/math/Expression.cpp
+++ b/src/helpers/math/Expression.cpp
@@ -1,6 +1,6 @@
#include "Expression.hpp"
#include "muParser.h"
-#include "../../debug/Log.hpp"
+#include "../../debug/log/Logger.hpp"
using namespace Math;
@@ -16,7 +16,7 @@ std::optional<double> CExpression::compute(const std::string& expr) {
try {
m_parser->SetExpr(expr);
return m_parser->Eval();
- } catch (mu::Parser::exception_type& e) { Debug::log(ERR, "CExpression::compute: mu threw: {}", e.GetMsg()); }
+ } catch (mu::Parser::exception_type& e) { Log::logger->log(Log::ERR, "CExpression::compute: mu threw: {}", e.GetMsg()); }
return std::nullopt;
}