summaryrefslogtreecommitdiff
path: root/src/utils/functors.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/functors.h')
-rw-r--r--src/utils/functors.h32
1 files changed, 13 insertions, 19 deletions
diff --git a/src/utils/functors.h b/src/utils/functors.h
index 5fae1214..92edd092 100644
--- a/src/utils/functors.h
+++ b/src/utils/functors.h
@@ -1,36 +1,33 @@
/*
- * The Mana World Server
- * Copyright 2004 The Mana World Development Team
+ * The Mana Server
+ * Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of The Mana World.
+ * This file is part of The Mana Server.
*
- * The Mana World is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or any later version.
+ * The Mana Server is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
*
- * The Mana World is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
+ * The Mana Server is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License along
- * with The Mana World; if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License
+ * along with The Mana Server. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FUNCTORS_H
#define FUNCTORS_H
-
#include <functional>
#include <sstream>
#include <string>
-
namespace
{
-
/**
* Functor used for the search of an object by name in a list.
*
@@ -51,7 +48,6 @@ struct obj_name_is
}
};
-
/**
* Functor to convert a string into another type using
* std::istringstream.operator>>().
@@ -70,8 +66,6 @@ struct string_to: public std::unary_function<std::string, T>
}
};
-
} // anonymous namespace
-
#endif // FUNCTORS_H