summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/widgets/label.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/include/guichan/widgets/label.hpp')
-rw-r--r--src/guichan/include/guichan/widgets/label.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guichan/include/guichan/widgets/label.hpp b/src/guichan/include/guichan/widgets/label.hpp
index a6000b47c..a99912de3 100644
--- a/src/guichan/include/guichan/widgets/label.hpp
+++ b/src/guichan/include/guichan/widgets/label.hpp
@@ -70,7 +70,7 @@ namespace gcn
*
* @param caption The caption of the label.
*/
- Label(const std::string& caption);
+ explicit Label(const std::string& caption);
A_DELETE_COPY(Label)
@@ -131,6 +131,6 @@ namespace gcn
*/
Graphics::Alignment mAlignment;
};
-}
+} // namespace gcn
-#endif // end GCN_LABEL_HPP
+#endif // end GCN_LABEL_HPP