Remove noexcept that can't be met.

This commit is contained in:
Rapptz 2014-09-05 15:53:19 -04:00
parent 084a9407c6
commit e9c3bed27e

View File

@ -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