summaryrefslogtreecommitdiff
path: root/src/guichan/include/guichan/event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/include/guichan/event.hpp')
-rw-r--r--src/guichan/include/guichan/event.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guichan/include/guichan/event.hpp b/src/guichan/include/guichan/event.hpp
index 5e85a3ca8..b4c5abcf7 100644
--- a/src/guichan/include/guichan/event.hpp
+++ b/src/guichan/include/guichan/event.hpp
@@ -68,7 +68,7 @@ namespace gcn
*
* @param source The source widget of the event.
*/
- Event(Widget *const source);
+ explicit Event(Widget *const source);
A_DELETE_COPY(Event)
@@ -91,6 +91,6 @@ namespace gcn
*/
Widget* mSource;
};
-}
+} // namespace gcn
-#endif // end GCN_EVENT_HPP
+#endif // end GCN_EVENT_HPP