projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix player rotations (#7941)
[oweals/minetest.git]
/
src
/
exceptions.h
diff --git
a/src/exceptions.h
b/src/exceptions.h
index a8a7db74c72f9f16614d26548280cc7f01253aee..c54307653b87b3575a09878ce59893d26ab4a544 100644
(file)
--- a/
src/exceptions.h
+++ b/
src/exceptions.h
@@
-27,7
+27,8
@@
class BaseException : public std::exception
{
public:
BaseException(const std::string &s) throw(): m_s(s) {}
- ~BaseException() throw() {}
+ ~BaseException() throw() = default;
+
virtual const char * what() const throw()
{
return m_s.c_str();