- 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:
tchernobog 2006-07-04 23:12:28 +00:00
parent 22af0b9cdd
commit 3e83f4db23
2 changed files with 3 additions and 4 deletions

View File

@ -104,11 +104,10 @@ Scheduler::reset_status()
}
Policy&
Policy*
Scheduler::get_policy()
{
// FIXME : fixme.
// return *PoliciesGatekeeper::get_instance().get_current_policy(&History::get_instance());
return _policy;
}

View File

@ -85,7 +85,7 @@ namespace sgpem
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.
*/
Policy& get_policy();
Policy* get_policy();
private:
Scheduler(); //private constructor.