summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/exception.hpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 17:06:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 17:06:02 +0300
commit6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d (patch)
treef1acb027394af1aec49790354df97da4665488b7 /src/guichan/include/guichan/exception.hpp
parenta7d7346b9eb3fa62a8912e31d5c00f8e05390425 (diff)
downloadplus-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.gz
plus-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.bz2
plus-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.tar.xz
plus-6b5c7e7a5ed32abfc98d9acdebacc50c68a91a1d.zip
another fixes from cpplint.
Diffstat (limited to 'src/guichan/include/guichan/exception.hpp')
-rw-r--r--src/guichan/include/guichan/exception.hpp7
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!"