diff options
Diffstat (limited to 'src/operator-noop.cc')
-rw-r--r-- | src/operator-noop.cc | 25 |
1 files changed, 9 insertions, 16 deletions
diff --git a/src/operator-noop.cc b/src/operator-noop.cc index d267513..a32214f 100644 --- a/src/operator-noop.cc +++ b/src/operator-noop.cc @@ -4,26 +4,22 @@ * @author Andreas Aardal Hanssen * @date 2002-2005 * ------------------------------------------------------------------ **/ -#include <string> -#include <iostream> - -#include "recursivedescent.h" -#include "session.h" #include "depot.h" #include "operators.h" +#include "recursivedescent.h" +#include "session.h" + +#include <iostream> +#include <string> using namespace ::std; using namespace Binc; //---------------------------------------------------------------------- -NoopOperator::NoopOperator(void) -{ -} +NoopOperator::NoopOperator(void) {} //---------------------------------------------------------------------- -NoopOperator::~NoopOperator(void) -{ -} +NoopOperator::~NoopOperator(void) {} //---------------------------------------------------------------------- const string NoopOperator::getName(void) const @@ -34,14 +30,11 @@ const string NoopOperator::getName(void) const //---------------------------------------------------------------------- int NoopOperator::getState(void) const { - return Session::NONAUTHENTICATED - | Session::AUTHENTICATED - | Session::SELECTED; + return Session::NONAUTHENTICATED | Session::AUTHENTICATED | Session::SELECTED; } //---------------------------------------------------------------------- -Operator::ProcessResult NoopOperator::process(Depot &depot, - Request &command) +Operator::ProcessResult NoopOperator::process(Depot &depot, Request &command) { return OK; } |