Skip to content
Snippets Groups Projects
Commit 7c2c926f authored by Eduardo Rodrigues's avatar Eduardo Rodrigues
Browse files

Merge branch 'modernize-loki-algo' into 'master'

modernize LoKi::Algo

fixes a warning in Analysis

See merge request !59
parents c6c3a0cb 3279a379
No related branches found
No related tags found
2 merge requests!62Future merge master,!59modernize LoKi::Algo
......@@ -1257,24 +1257,16 @@ namespace LoKi \
{ \
class ALGNAME : public LoKi::Algo \
{ \
/** friend factory for instantiation */ \
friend class AlgFactory<LoKi::ALGNAME> ; \
public: \
/** standard method for event analysis */ \
virtual StatusCode analyse () ; \
protected: \
/** standard constructor */ \
ALGNAME( const std::string& name , \
ISvcLocator* svc ) ; \
/** virtual destructor */ \
virtual ~ALGNAME () ; \
using LoKi::Algo::Algo ; \
/** standard method for event analysis */ \
StatusCode analyse () override ; \
private: \
/** default constructor is private */ \
ALGNAME () ; \
/** copy constructor is private */ \
ALGNAME ( const ALGNAME & ) ; \
ALGNAME ( const ALGNAME & ) = delete; \
/** assignement operator is private */ \
ALGNAME & operator= ( const ALGNAME & ) ; \
ALGNAME & operator= ( const ALGNAME & ) = delete; \
}; \
} // end of namespace LoKi
// ============================================================================
......@@ -1323,17 +1315,7 @@ namespace LoKi \
/* ======================================================================== */ \
/** Declaration of the Algorithm Factory */ \
/* ======================================================================== */ \
DECLARE_NAMESPACE_ALGORITHM_FACTORY( LoKi , ALGNAME ) \
/* ======================================================================== */ \
/** Standard constructor */ \
/* ======================================================================== */ \
LoKi::ALGNAME::ALGNAME ( const std::string& name , \
ISvcLocator* svc ) \
: LoKi::Algo( name , svc ) {} /* constructor for base class */ \
/* ======================================================================== */ \
/** destructor (empty) */ \
/* ======================================================================== */ \
LoKi::ALGNAME ::~ALGNAME () {}
DECLARE_NAMESPACE_ALGORITHM_FACTORY( LoKi , ALGNAME )
// ============================================================================
/** @def LOKI_ALGORITHM_FULLIMPLEMENT
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment