Updated Event c'tor to accept an enum.

This commit is contained in:
martin-osborne
2015-01-17 10:07:44 +00:00
parent 96c859eaaa
commit 21d2e963ef
16 changed files with 63 additions and 21 deletions

View File

@@ -26,7 +26,7 @@
namespace Poco {
EventImpl::EventImpl(bool autoReset): _auto(autoReset), _state(false)
EventImpl::EventImpl(EventTypeImpl type): _auto(type == EVENT_AUTORESET_IMPL), _state(false)
{
#if defined(POCO_VXWORKS)
// This workaround is for VxWorks 5.x where