Added missing explicit keyword.

This commit is contained in:
martin-osborne 2015-01-17 12:02:42 +00:00
parent 1bb48442b6
commit 6eb8f582e7

View File

@ -52,13 +52,13 @@ public:
EVENT_AUTORESET = EVENT_AUTORESET_IMPL, /// Auto-reset event
};
Event(EventType type = EVENT_AUTORESET);
explicit Event(EventType type = EVENT_AUTORESET);
/// Creates the event. If type is EVENT_AUTORESET,
/// the event is automatically reset after
/// a wait() successfully returns.
//@ deprecated
Event(bool autoReset);
explicit Event(bool autoReset);
/// Please use Event::Event(EventType) instead.
~Event();