1
0
forked from Alepha/Alepha

Fix the aliasing of what in exceptions.

This commit is contained in:
2023-12-01 17:40:52 -05:00
parent b24b927b67
commit a28c99cca7

View File

@ -484,6 +484,7 @@ namespace Alepha::Hydrogen ::detail:: Exception_m
explicit Error( std::string message ) : MessageStorage( std::move( message ) ) {}
using Exception::message;
using std::exception::what;
};
return Error{ std::move( message ) };
@ -502,6 +503,7 @@ namespace Alepha::Hydrogen ::detail:: Exception_m
public:
explicit Error( std::string message ) : MessageStorage( std::move( message ) ) {}
using Exception::message;
using std::exception::what;
};
return Error{ std::move( message ) };
@ -521,6 +523,7 @@ namespace Alepha::Hydrogen ::detail:: Exception_m
public:
explicit Error( std::string message ) : MessageStorage( std::move( message ) ) {}
using Exception::message;
using std::exception::what;
};
return Error{ std::move( message ) };