HCoop
/
clinton
/
bobotpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-07-28 22:17:32 by unknown_lamer]
[clinton/bobotpp.git]
/
source
/
Bot.C
diff --git
a/source/Bot.C
b/source/Bot.C
index
6852832
..
0a9f3b4
100644
(file)
--- a/
source/Bot.C
+++ b/
source/Bot.C
@@
-17,6
+17,7
@@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#include <fstream>
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#include <fstream>
+#include <algorithm>
#include <iomanip>
#include <cstring>
#include <cstdlib>
#include <iomanip>
#include <cstring>
#include <cstdlib>
@@
-667,7
+668,7
@@
namespace
void
Bot::destroy_user_functions ()
{
void
Bot::destroy_user_functions ()
{
- for_each (userFunctions.begin (),
+
std::
for_each (userFunctions.begin (),
userFunctions.end (),
erase_userf);
userFunctions.erase (userFunctions.begin (),
userFunctions.end (),
erase_userf);
userFunctions.erase (userFunctions.begin (),