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) { }