1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Some globals (un-)init fixes

This commit is contained in:
sfan5 2024-04-11 13:54:09 +02:00
parent 2af5191070
commit d8190e1c5f
16 changed files with 58 additions and 62 deletions

View file

@ -26,10 +26,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
class BaseException : public std::exception
{
public:
BaseException(const std::string &s) throw(): m_s(s) {}
BaseException(const std::string &s) noexcept: m_s(s) {}
~BaseException() throw() = default;
virtual const char * what() const throw()
virtual const char * what() const noexcept
{
return m_s.c_str();
}