aboutsummaryrefslogtreecommitdiff
path: root/src/CommandDialog.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-01-17 22:16:58 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-01-17 22:16:58 (GMT)
commit3a5fd7342d6cfd00acafeec4c1f35948a550e4ab (patch)
tree63986359afdcae9015e557c757e8c1819c473b05 /src/CommandDialog.cc
parentc6099d777d844699fb8a4243921159898bc4f45c (diff)
downloadfluxbox-3a5fd7342d6cfd00acafeec4c1f35948a550e4ab.zip
fluxbox-3a5fd7342d6cfd00acafeec4c1f35948a550e4ab.tar.bz2
use function pointer for CommandParser::Command
Diffstat (limited to 'src/CommandDialog.cc')
-rw-r--r--src/CommandDialog.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandDialog.cc b/src/CommandDialog.cc
index 346a1a4..37e7bdd 100644
--- a/src/CommandDialog.cc
+++ b/src/CommandDialog.cc
@@ -167,8 +167,8 @@ void CommandDialog::tabComplete() {
167 return; 167 return;
168 } 168 }
169 169
170 FbTk::ObjectRegistry<FbTk::CommandParser<void>::Creator *>::CreatorMap::const_iterator it = FbTk::ObjectRegistry<FbTk::CommandParser<void>::Creator *>::instance().creatorMap().begin(); 170 FbTk::ObjectRegistry<FbTk::CommandParser<void>::Creator>::CreatorMap::const_iterator it = FbTk::ObjectRegistry<FbTk::CommandParser<void>::Creator>::instance().creatorMap().begin();
171 const FbTk::ObjectRegistry<FbTk::CommandParser<void>::Creator *>::CreatorMap::const_iterator it_end = FbTk::ObjectRegistry<FbTk::CommandParser<void>::Creator *>::instance().creatorMap().end(); 171 const FbTk::ObjectRegistry<FbTk::CommandParser<void>::Creator>::CreatorMap::const_iterator it_end = FbTk::ObjectRegistry<FbTk::CommandParser<void>::Creator>::instance().creatorMap().end();
172 vector<string> matches; 172 vector<string> matches;
173 for (; it != it_end; ++it) { 173 for (; it != it_end; ++it) {
174 if ((*it).first.find(prefix) == 0) { 174 if ((*it).first.find(prefix) == 0) {