remove some unnecessary code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@287 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
1550e02b62
commit
bf144a940b
3 changed files with 49 additions and 49 deletions
|
@ -51,19 +51,19 @@ namespace Loki
|
|||
}
|
||||
}
|
||||
|
||||
void OrderedStaticManagerClass::registerObject(OrderedStaticCreatorFunc* o,Creator f, unsigned int l)
|
||||
void OrderedStaticManagerClass::registerObject(unsigned int l, OrderedStaticCreatorFunc* o,Creator f)
|
||||
{
|
||||
staticObjects_.push_back(Data(o,f,l));
|
||||
staticObjects_.push_back(Data(l,o,f));
|
||||
|
||||
if(l>max_longevity_)max_longevity_=l;
|
||||
if(l<min_longevity_)min_longevity_=l;
|
||||
if(l>max_longevity_) max_longevity_=l;
|
||||
if(l<min_longevity_) min_longevity_=l;
|
||||
}
|
||||
|
||||
OrderedStaticManagerClass::Data::Data(OrderedStaticCreatorFunc* o, Creator f, unsigned int l)
|
||||
OrderedStaticManagerClass::Data::Data(unsigned int l, OrderedStaticCreatorFunc* o, Creator f)
|
||||
{
|
||||
longevity = l;
|
||||
object = o;
|
||||
creator = f;
|
||||
longevity = l;
|
||||
}
|
||||
|
||||
}//namespace Private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue