diff options
Diffstat (limited to 'src/guichan/include/guichan/widgets/button.hpp')
-rw-r--r-- | src/guichan/include/guichan/widgets/button.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guichan/include/guichan/widgets/button.hpp b/src/guichan/include/guichan/widgets/button.hpp index 052250e42..b34e5f921 100644 --- a/src/guichan/include/guichan/widgets/button.hpp +++ b/src/guichan/include/guichan/widgets/button.hpp @@ -83,7 +83,7 @@ namespace gcn * * @param caption The caption of the button. */ - Button(const std::string& caption); + explicit Button(const std::string& caption); A_DELETE_COPY(Button) @@ -197,6 +197,6 @@ namespace gcn */ unsigned int mSpacing; }; -} +} // namespace gcn -#endif // end GCN_BUTTON_HPP +#endif // end GCN_BUTTON_HPP |