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

Commit

Permalink
SystemClass: remove useless overridden init() method
Browse files Browse the repository at this point in the history
The overridden implementation was only calling the base implementation. It can
therefore can be completely removed as it is the default behaviour.

Change-Id: Ic0eadf82abfdaad0ca76d3e9a757544d5ec31427
Signed-off-by: David Wagner <[email protected]>
  • Loading branch information
dawagner committed Feb 18, 2015
1 parent 17bacca commit e26ac14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions parameter/SystemClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,3 @@ void CSystemClass::cleanSubsystemsNeedToResync()
pSubsystem->needResync(true);
}
}

bool CSystemClass::init(string& strError)
{
return base::init(strError);
}
1 change: 0 additions & 1 deletion parameter/SystemClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ class CSystemClass : public CConfigurableElement
void cleanSubsystemsNeedToResync();

// base
virtual bool init(std::string& strError);
virtual std::string getKind() const;

private:
Expand Down

0 comments on commit e26ac14

Please sign in to comment.