diff --git a/eo/src/utils/eoUpdater.h b/eo/src/utils/eoUpdater.h index f8597c14..23374475 100644 --- a/eo/src/utils/eoUpdater.h +++ b/eo/src/utils/eoUpdater.h @@ -32,6 +32,8 @@ #include #include +template class eoCheckPoint; + /** eoUpdater is a generic procudere for updating whatever you want. Yet again an empty name @@ -41,6 +43,9 @@ class eoUpdater : public eoF public: virtual void lastCall() {} virtual std::string className(void) const { return "eoUpdater"; } + + template + eoUpdater& addTo(eoCheckPoint& cp) { cp.add(*this); return *this; } }; /**