From 508689e7403f8abdc9a90692e41e50d0712c8989 Mon Sep 17 00:00:00 2001 From: paxcut Date: Fri, 26 Dec 2025 17:46:13 -0700 Subject: [PATCH] Change to make the upcoming pt in imhex repo compile without errors. The new changes made there cause a mussing constructor error on the errors class because it is missing a default constructor or at least the error goes away when the default constructor is added. If there is a better way to handle this let me know. --- lib/include/pl/core/errors/error.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/include/pl/core/errors/error.hpp b/lib/include/pl/core/errors/error.hpp index edbc5073..3d00d5d9 100644 --- a/lib/include/pl/core/errors/error.hpp +++ b/lib/include/pl/core/errors/error.hpp @@ -108,6 +108,7 @@ namespace pl::core::err { class CompileError { public: + CompileError() = default; CompileError(std::string message, const Location& location) : m_message(std::move(message)), m_location(location) { } CompileError(std::string message, std::string description, const Location& location) : m_message(std::move(message)), m_description(std::move(description)), m_location(location) { }