diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-09 23:06:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-09 23:06:00 +0000 |
commit | 31959bc355c471c573828bf63932850e46c4b5bc (patch) | |
tree | cc473901e88926e36c89775a7fc97a51da948498 /src/core/func.cc | |
parent | d281384f727583b39b8e97ffea58b278ecc8dd47 (diff) |
more entities
Diffstat (limited to 'src/core/func.cc')
-rw-r--r-- | src/core/func.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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<std::string, Func> registry; @@ -44,9 +44,9 @@ Func find(const std::string &functionname) void list() { std::map<std::string, Func>::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; } |