Author: dgorbachev
Date: Thu Sep 8 21:00:37 2011
New Revision: 53647
URL:
http://svn.reactos.org/svn/reactos?rev=53647&view=rev
Log:
[Telnet]
Fix build with GCC 4.7.
Modified:
trunk/reactos/base/applications/network/telnet/src/stl_bids.h
Modified: trunk/reactos/base/applications/network/telnet/src/stl_bids.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/network/…
==============================================================================
--- trunk/reactos/base/applications/network/telnet/src/stl_bids.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/network/telnet/src/stl_bids.h [iso-8859-1] Thu Sep 8
21:00:37 2011
@@ -39,7 +39,7 @@
{ if(!growable && vector<T>::size( ) == vector<T>::capacity( ))
return 0;
else
- insert(vector<T>::end( ), item);
+ vector<T>::insert(vector<T>::end( ), item);
return 1; }
int AddAt(const T& item, size_type index)
@@ -48,11 +48,11 @@
(ZeroBase(index > vector<T>::capacity( )) )))
return 0;
if(ZeroBase(index) > vector<T>::capacity( )) // out of bounds
- { insert(vector<T>::end( ),
+ { vector<T>::insert(vector<T>::end( ),
ZeroBase(index) - vector<T>::size( ), T( ));
- insert(vector<T>::end( ), item); }
+ vector<T>::insert(vector<T>::end( ), item); }
else
- { insert(vector<T>::begin( ) + ZeroBase(index), item); }
+ { vector<T>::insert(vector<T>::begin( ) + ZeroBase(index), item); }
return 1;
}
@@ -65,13 +65,13 @@
else
return location + lowerbound; }
void Detach(size_type index)
- { erase(vector<T>::begin( ) + ZeroBase(index)); }
+ { vector<T>::erase(vector<T>::begin( ) + ZeroBase(index)); }
void Detach(const T& item)
{ Destroy(Find(item)); }
void Destroy(size_type index)
- { erase(vector<T>::begin( ) + ZeroBase(index)); }
+ { vector<T>::erase(vector<T>::begin( ) + ZeroBase(index)); }
void Destroy(const T& item)
{ Destroy(Find(item)); }
@@ -131,9 +131,9 @@
void Reallocate(size_type sz,
size_type offset = 0)
{ if(offset)
- insert(vector<T>::begin( ), offset, T( ));
+ vector<T>::insert(vector<T>::begin( ), offset, T( ));
vector<T>::reserve(sz);
- erase(vector<T>::end( ) - offset, vector<T>::end( )); }
+ vector<T>::erase(vector<T>::end( ) - offset, vector<T>::end( )); }
void RemoveEntry(size_type index)
{ Detach(index); }