Regards #340, #345: Removed unnecessary indentation of exceptions namespace + added end-of-namespace comment (#351)

This commit is contained in:
Eyal Rozenberg 2022-07-12 23:49:04 +03:00 committed by GitHub
parent 628dc9202b
commit 9cd015ac37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,6 +371,7 @@ class Value : public std::enable_shared_from_this<Value>
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif
namespace exceptions { namespace exceptions {
class exception : public std::exception class exception : public std::exception
{ {
public: public:
@ -518,7 +519,8 @@ namespace exceptions {
{ {
} }
}; };
}
} // namespace exceptions
template <typename T> template <typename T>
void throw_or_mimic(const std::string& text) void throw_or_mimic(const std::string& text)