Skip to content

Commit fcac18c

Browse files
committed
fix arg type
1 parent 108016d commit fcac18c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ystdlib/error_handling/TraceableException.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TraceableException : public std::exception, public std::source_location {
2929

3030
explicit TraceableException(
3131
std::error_code error_code,
32-
char const* what,
32+
std::string const& what,
3333
std::source_location const& location = std::source_location::current()
3434
)
3535
: std::source_location{location},

0 commit comments

Comments
 (0)