diff --git a/include/errors/error.hpp b/include/errors/error.hpp index 3638873..9cfa8b3 100644 --- a/include/errors/error.hpp +++ b/include/errors/error.hpp @@ -17,7 +17,7 @@ namespace errors { */ class [[nodiscard]] Error { private: - const std::shared_ptr msg_ptr; + std::shared_ptr msg_ptr; Error(const std::shared_ptr& msg_ptr);