- Fix return type of Scheduler::get_policy() before going to bed
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@718 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
22af0b9cdd
commit
3e83f4db23
|
@ -104,11 +104,10 @@ Scheduler::reset_status()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Policy&
|
Policy*
|
||||||
Scheduler::get_policy()
|
Scheduler::get_policy()
|
||||||
{
|
{
|
||||||
// FIXME : fixme.
|
return _policy;
|
||||||
// return *PoliciesGatekeeper::get_instance().get_current_policy(&History::get_instance());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ namespace sgpem
|
||||||
Returns the policy that will be used to generate the simulation at the next instant.
|
Returns the policy that will be used to generate the simulation at the next instant.
|
||||||
\return the policy that will be used to generate the simulation at the next instant.
|
\return the policy that will be used to generate the simulation at the next instant.
|
||||||
*/
|
*/
|
||||||
Policy& get_policy();
|
Policy* get_policy();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Scheduler(); //private constructor.
|
Scheduler(); //private constructor.
|
||||||
|
|
Loading…
Reference in New Issue