diff options
Diffstat (limited to 'src/operator-idle.cc')
-rw-r--r-- | src/operator-idle.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/operator-idle.cc b/src/operator-idle.cc index a278139..7c5ce40 100644 --- a/src/operator-idle.cc +++ b/src/operator-idle.cc @@ -48,16 +48,16 @@ static const int POLLTIMEOUT = 30 * 60; static const int POLLTIMEOUT = 30; #endif -IdleOperator::IdleOperator(void) {} +IdleOperator::IdleOperator() {} -IdleOperator::~IdleOperator(void) {} +IdleOperator::~IdleOperator() {} -const std::string IdleOperator::getName(void) const +const std::string IdleOperator::getName() const { return "IDLE"; } -int IdleOperator::getState(void) const +int IdleOperator::getState() const { return Session::SELECTED; } @@ -91,7 +91,7 @@ Operator::ProcessResult IdleOperator::process(Depot &depot, Request &command) // when not using FNOTIFY, we need to check the session timeout. time_t startTime = time(nullptr); #ifdef HAVE_FNOTIFY - (void)startTime; // removes a compile warning + ()startTime; // removes a compile warning #endif bincClient << "+ idling" << endl; |