From 31959bc355c471c573828bf63932850e46c4b5bc Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 9 Feb 2008 23:06:00 +0000 Subject: more entities --- src/core/func.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/func.cc') diff --git a/src/core/func.cc b/src/core/func.cc index 664af4a..9f64906 100644 --- a/src/core/func.cc +++ b/src/core/func.cc @@ -11,7 +11,7 @@ namespace core { -namespace func +namespace func { std::map registry; @@ -44,9 +44,9 @@ Func find(const std::string &functionname) void list() { std::map::iterator it; - for (it = registry.begin(); it != registry.end(); it++) { - con_print << " " << (*it).first << std::endl; - } + for (it = registry.begin(); it != registry.end(); it++) { + con_print << " " << (*it).first << std::endl; + } con_print << registry.size() << " registered functions" << std::endl; } -- cgit v1.2.3