diff options
Diffstat (limited to 'src/guichan/include/guichan/exception.hpp')
-rw-r--r-- | src/guichan/include/guichan/exception.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/guichan/include/guichan/exception.hpp b/src/guichan/include/guichan/exception.hpp index 2e7b250b3..bbf8b31ce 100644 --- a/src/guichan/include/guichan/exception.hpp +++ b/src/guichan/include/guichan/exception.hpp @@ -88,7 +88,6 @@ namespace gcn class GCN_CORE_DECLSPEC Exception final { public: - /** * Constructor. */ @@ -99,7 +98,7 @@ namespace gcn * * @param message The error message of the exception. */ - Exception(const std::string& message); + explicit Exception(const std::string& message); /** * Constructor. @@ -169,9 +168,9 @@ namespace gcn */ unsigned int mLine; }; -} +} // namespace gcn -#endif // end GCN_EXCEPTION_HPP +#endif // end GCN_EXCEPTION_HPP /* * "Final Fantasy XI is the BEST!... It's even better then water!" |