X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fldap%2FTimerManager.cpp;fp=source%2Fldap%2FTimerManager.cpp;h=6bb611939a178042b28c273a47433bce9fac2c5a;hp=e3cbd54fa2dfee4e85ff224526ee02e333032c3f;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/ldap/TimerManager.cpp b/source/ldap/TimerManager.cpp index e3cbd54..6bb6119 100644 --- a/source/ldap/TimerManager.cpp +++ b/source/ldap/TimerManager.cpp @@ -30,7 +30,7 @@ ldap::TimerManager::TimerManager() : // seccion critica, lo que evita interbloqueos. //------------------------------------------------------------------------------------------------------- ldap::Timer* ldap::TimerManager::createTimer(Response* response) -throw(RuntimeException) { +noexcept(false) { Timer* result(NULL); if(a_timeController == NULL) @@ -53,7 +53,7 @@ throw(RuntimeException) { } void ldap::TimerManager::cancel(ldap::Timer* timer) -throw() { +{ if(timer == NULL) return; @@ -77,7 +77,7 @@ throw() { // Se invoca automaticamente desde timex::Engine //------------------------------------------------------------------------------------------ void ldap::TimerManager::release(timex::TimeEvent* timeEvent) -throw() { +{ Timer* timer = static_cast (timeEvent); timer->setResponse(NULL); a_timers.release(timer);