Skip to content

Commit 508689e

Browse files
committed
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.
1 parent a0973fa commit 508689e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/include/pl/core/errors/error.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ namespace pl::core::err {
108108
class CompileError {
109109

110110
public:
111+
CompileError() = default;
111112
CompileError(std::string message, const Location& location) : m_message(std::move(message)), m_location(location) { }
112113
CompileError(std::string message, std::string description, const Location& location) : m_message(std::move(message)), m_description(std::move(description)),
113114
m_location(location) { }

0 commit comments

Comments
 (0)