Skip to content

Commit

Permalink
fix: modify Error::msg_ptr to be mutable by removing const specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Jan 4, 2024
1 parent 0c8c5b9 commit 86595ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/errors/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace errors {
*/
class [[nodiscard]] Error {
private:
const std::shared_ptr<const char[]> msg_ptr;
std::shared_ptr<const char[]> msg_ptr;

Error(const std::shared_ptr<const char[]>& msg_ptr);

Expand Down

0 comments on commit 86595ac

Please # to comment.