mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Remove noexcept that can't be met.
This commit is contained in:
parent
084a9407c6
commit
e9c3bed27e
|
@ -28,7 +28,7 @@
|
|||
namespace sol {
|
||||
class error : public std::runtime_error {
|
||||
public:
|
||||
error(const std::string& str) noexcept: std::runtime_error("lua: error: " + str) {}
|
||||
error(const std::string& str): std::runtime_error("lua: error: " + str) {}
|
||||
};
|
||||
} // sol
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user