diff options
Diffstat (limited to 'paludis')
-rw-r--r-- | paludis/util/exception.cc | 2 | ||||
-rw-r--r-- | paludis/util/exception.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/paludis/util/exception.cc b/paludis/util/exception.cc index 7ae54682e..6a46e4ae9 100644 --- a/paludis/util/exception.cc +++ b/paludis/util/exception.cc @@ -45,7 +45,7 @@ Context::Context(const std::string & s) context->push_back(s); } -Context::~Context() +Context::~Context() noexcept(false) { if (! context) throw InternalError(PALUDIS_HERE, "no context"); diff --git a/paludis/util/exception.hh b/paludis/util/exception.hh index c8ca10e5b..0f5a5dfcf 100644 --- a/paludis/util/exception.hh +++ b/paludis/util/exception.hh @@ -55,7 +55,7 @@ namespace paludis Context(const std::string &); - ~Context(); + ~Context() noexcept(false); ///\} |