This commit is contained in:
Nav
2022-12-10 19:23:06 +00:00
parent ffe4f5bfc5
commit 6b7f0fd234
5 changed files with 22 additions and 30 deletions

View File

@@ -13,13 +13,13 @@ namespace Bloom::DebugServer::Gdb::Exceptions
class ClientNotSupported: public Bloom::Exceptions::Exception
{
public:
explicit ClientNotSupported(const std::string& message): Bloom::Exceptions::Exception(message) {
this->message = message;
}
explicit ClientNotSupported(const std::string& message)
: Bloom::Exceptions::Exception(message)
{}
explicit ClientNotSupported(const char* message): Bloom::Exceptions::Exception(message) {
this->message = std::string(message);
}
explicit ClientNotSupported(const char* message)
: Bloom::Exceptions::Exception(message)
{}
explicit ClientNotSupported() = default;
};