mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places.
This commit is contained in:
parent
10dfe46ede
commit
01f0d5cfca
20 changed files with 70 additions and 69 deletions
|
|
@ -33,7 +33,7 @@ String SimObjectList::smSortScriptCallbackFn;
|
|||
|
||||
bool SimObjectList::pushBack(SimObject* obj)
|
||||
{
|
||||
if (find(begin(),end(),obj) == end())
|
||||
if (T3D::find(begin(),end(),obj) == end())
|
||||
{
|
||||
push_back(obj);
|
||||
return true;
|
||||
|
|
@ -44,7 +44,7 @@ bool SimObjectList::pushBack(SimObject* obj)
|
|||
|
||||
bool SimObjectList::pushBackForce(SimObject* obj)
|
||||
{
|
||||
iterator itr = find(begin(),end(),obj);
|
||||
iterator itr = T3D::find(begin(),end(),obj);
|
||||
if (itr == end())
|
||||
{
|
||||
push_back(obj);
|
||||
|
|
@ -64,7 +64,7 @@ bool SimObjectList::pushBackForce(SimObject* obj)
|
|||
|
||||
bool SimObjectList::pushFront(SimObject* obj)
|
||||
{
|
||||
if (find(begin(),end(),obj) == end())
|
||||
if (T3D::find(begin(),end(),obj) == end())
|
||||
{
|
||||
push_front(obj);
|
||||
return true;
|
||||
|
|
@ -75,7 +75,7 @@ bool SimObjectList::pushFront(SimObject* obj)
|
|||
|
||||
bool SimObjectList::remove(SimObject* obj)
|
||||
{
|
||||
iterator ptr = find(begin(),end(),obj);
|
||||
iterator ptr = T3D::find(begin(),end(),obj);
|
||||
if (ptr != end())
|
||||
{
|
||||
erase(ptr);
|
||||
|
|
@ -87,7 +87,7 @@ bool SimObjectList::remove(SimObject* obj)
|
|||
|
||||
bool SimObjectList::removeStable(SimObject* obj)
|
||||
{
|
||||
iterator ptr = find(begin(),end(),obj);
|
||||
iterator ptr = T3D::find(begin(),end(),obj);
|
||||
if (ptr != end())
|
||||
{
|
||||
erase(ptr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue