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,8 +28,8 @@
|
|||
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
|
||||
|
||||
#endif // SOL_ERROR_HPP
|
||||
#endif // SOL_ERROR_HPP
|
||||
|
|
Loading…
Reference in New Issue
Block a user