From 09fb43f3d36847977ac202c10c5a11f34af03a43 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 4 Feb 2008 01:17:44 +0000 Subject: astyle --- src/core/func.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/core/func.cc') diff --git a/src/core/func.cc b/src/core/func.cc index c4f14db..b89e556 100644 --- a/src/core/func.cc +++ b/src/core/func.cc @@ -1,13 +1,14 @@ /* core/func.cc - This file is part of the Osirion project and is distributed under - the terms of the GNU General Public License version 2 + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 */ #include "core/func.h" #include -namespace core { +namespace core +{ std::map functionmap; @@ -15,7 +16,7 @@ void func_register(const char * functionname, Func functionptr) { functionmap[std::string(functionname)] = functionptr; } - + void func_unregister(std:: string functionname) { functionmap.erase(std::string(functionname)); @@ -26,4 +27,4 @@ Func func_find(std::string functionname) return functionmap[functionname]; } -} +} // namespace core -- cgit v1.2.3