generated from Sithas/conan_template
Настроенная сборка
This commit is contained in:
@@ -4,7 +4,7 @@ using namespace std;
|
||||
|
||||
namespace uad
|
||||
{
|
||||
char const* session_exception::what() const
|
||||
char const* session_exception::what() const noexcept
|
||||
{
|
||||
return message.c_str();
|
||||
}
|
||||
|
||||
@@ -15,6 +15,6 @@ struct session_exception : std::exception
|
||||
session_exception(const boost::beast::http::status ec, const std::string info)
|
||||
: code(ec), comment(info), message(std::to_string(static_cast<uint64_t>(ec)) + " - " + comment)
|
||||
{}
|
||||
char const* what() const override;
|
||||
[[nodiscard]] char const* what() const noexcept override;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user