summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-06 05:38:32 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-06 05:38:32 -0400
commitfcaaa372019b525980e40b148a1d542ab3acced9 (patch)
tree568e2715bdc27817c39d25062bd1b22b5812f244 /main.cc
parent305c6159afe727c6e6f2f49c37789922df1a5a98 (diff)
downloadfork-ledger-fcaaa372019b525980e40b148a1d542ab3acced9.tar.gz
fork-ledger-fcaaa372019b525980e40b148a1d542ab3acced9.tar.bz2
fork-ledger-fcaaa372019b525980e40b148a1d542ab3acced9.zip
switch from using deque back to list; affects speed by up to 30%!
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index 6ae0bb21..42501544 100644
--- a/main.cc
+++ b/main.cc
@@ -230,7 +230,7 @@ int parse_and_report(int argc, char * argv[], char * envp[])
TIMER_START(process_opts);
- std::deque<std::string> args;
+ std::list<std::string> args;
process_arguments(argc - 1, argv + 1, false, args);
if (args.empty()) {