X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fldap%2Finternal%2FTimer.hpp;h=5b5bc308edb5fdd043cc6ead97c7d08d131fd57d;hb=HEAD;hp=0cb68031978531bdbe452972b336454b48ac74ef;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/ldap/internal/Timer.hpp b/include/anna/ldap/internal/Timer.hpp index 0cb6803..5b5bc30 100644 --- a/include/anna/ldap/internal/Timer.hpp +++ b/include/anna/ldap/internal/Timer.hpp @@ -22,16 +22,16 @@ class TimerManager; class Timer : public timex::Transaction { public: - Response* getResponse() throw() { return reinterpret_cast (getContext()); } - const Response* getResponse() const throw() { return reinterpret_cast (getContext()); } + Response* getResponse() { return reinterpret_cast (getContext()); } + const Response* getResponse() const { return reinterpret_cast (getContext()); } - std::string asString() const throw(); + std::string asString() const ; private: Timer() {;} - void setResponse(Response* response) throw() { setContext(response); } - void expire(timex::Engine*) throw(RuntimeException); + void setResponse(Response* response) { setContext(response); } + void expire(timex::Engine*) noexcept(false); friend class ldap::TimerManager; friend class Allocator;