diff options
Diffstat (limited to 'src/guichan/include/guichan/key.hpp')
-rw-r--r-- | src/guichan/include/guichan/key.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/guichan/include/guichan/key.hpp b/src/guichan/include/guichan/key.hpp index 6acce412c..8a2a9a13d 100644 --- a/src/guichan/include/guichan/key.hpp +++ b/src/guichan/include/guichan/key.hpp @@ -64,13 +64,12 @@ namespace gcn class GCN_CORE_DECLSPEC Key final { public: - /** * Constructor. * * @param value The ascii or enum value for the key. */ - Key(const int value = 0); + explicit Key(const int value = 0); /** * Checks if a key is a character. @@ -180,6 +179,6 @@ namespace gcn */ int mValue; }; -} +} // namespace gcn -#endif // end GCN_KEY_HPP +#endif // end GCN_KEY_HPP |