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:
@ -169,11 +169,10 @@ void SimulatorController::onJump(ConcreteCPU* cpu, bool flagTriggered, unsigned
|
|||||||
m_LstList.triggerActiveListeners();
|
m_LstList.triggerActiveListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SimulatorController::addCPU(ConcreteCPU* cpu)
|
void SimulatorController::addCPU(ConcreteCPU* cpu)
|
||||||
{
|
{
|
||||||
assert(cpu != NULL && "FATAL ERROR: Argument (cpu) cannot be NULL!");
|
assert(cpu != NULL && "FATAL ERROR: Argument (cpu) cannot be NULL!");
|
||||||
m_CPUs.push_back(cpu);
|
m_CPUs.push_back(cpu);
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ConcreteCPU& SimulatorController::getCPU(size_t i) const
|
ConcreteCPU& SimulatorController::getCPU(size_t i) const
|
||||||
|
|||||||
@ -143,7 +143,7 @@ public:
|
|||||||
* implementation (especially before the experiment code runs).
|
* implementation (especially before the experiment code runs).
|
||||||
* @param cpu the cpu that should be added to the list
|
* @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.
|
* Gets the CPU with the provided \c id.
|
||||||
* @param id the id of the CPU to get
|
* @param id the id of the CPU to get
|
||||||
|
|||||||
Reference in New Issue
Block a user