Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #50 from dawagner/make_parametermgr_init_private
Browse files Browse the repository at this point in the history
Make CParameterMgr::init private
  • Loading branch information
dawagner committed Feb 19, 2015
2 parents fe2f8a6 + ff3a60a commit 4f03c87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion parameter/ParameterMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ class CParameterMgr : private CElement
* @return true if no error occurred, false otherwise.
*/
bool load(std::string& strError);
virtual bool init(std::string& strError);

// Selection Criteria
CSelectionCriterionType* createSelectionCriterionType(bool bIsInclusive);
Expand Down Expand Up @@ -359,6 +358,9 @@ class CParameterMgr : private CElement
CParameterMgr(const CParameterMgr&);
CParameterMgr& operator=(const CParameterMgr&);

// Init
virtual bool init(std::string& strError);

// Logging (done by root)
virtual void doLog(bool bIsWarning, const std::string& strLog) const;
virtual void nestLog() const;
Expand Down
2 changes: 1 addition & 1 deletion parameter/ParameterMgrFullConnector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ CParameterMgrFullConnector::~CParameterMgrFullConnector()
bool CParameterMgrFullConnector::start(string& strError)
{
// Create data structure & Init flow
return _pParameterMgr->load(strError) && _pParameterMgr->init(strError);
return _pParameterMgr->load(strError);
}

void CParameterMgrFullConnector::setLogger(CParameterMgrFullConnector::ILogger* pLogger)
Expand Down

0 comments on commit 4f03c87

Please sign in to comment.