SimulatorController: no need for return type bool of addCPU().

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1975 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-12-12 13:08:21 +00:00
parent 25f75b299c
commit 9f53d3348b
2 changed files with 2 additions and 3 deletions

View File

@ -169,11 +169,10 @@ void SimulatorController::onJump(ConcreteCPU* cpu, bool flagTriggered, unsigned
m_LstList.triggerActiveListeners();
}
bool SimulatorController::addCPU(ConcreteCPU* cpu)
void SimulatorController::addCPU(ConcreteCPU* cpu)
{
assert(cpu != NULL && "FATAL ERROR: Argument (cpu) cannot be NULL!");
m_CPUs.push_back(cpu);
return true;
}
ConcreteCPU& SimulatorController::getCPU(size_t i) const

View File

@ -143,7 +143,7 @@ public:
* implementation (especially before the experiment code runs).
* @param cpu the cpu that should be added to the list
*/
bool addCPU(ConcreteCPU* cpu);
void addCPU(ConcreteCPU* cpu);
/**
* Gets the CPU with the provided \c id.
* @param id the id of the CPU to get