Skip to content

Commit 86595ac

Browse files
committed
fix: modify Error::msg_ptr to be mutable by removing const specifier
1 parent 0c8c5b9 commit 86595ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/errors/error.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace errors {
1717
*/
1818
class [[nodiscard]] Error {
1919
private:
20-
const std::shared_ptr<const char[]> msg_ptr;
20+
std::shared_ptr<const char[]> msg_ptr;
2121

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

0 commit comments

Comments
 (0)