summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2018-06-18 10:55:40 -0700
committerJohn Wiegley <johnw@newartisans.com>2018-06-18 10:56:04 -0700
commitdfd807f3a491dbcb386ff4b7a9b6bfe2bd7fc6c6 (patch)
tree6368945c8bff7b4249996d6c5a5e6a1f78826108 /src/session.h
parentef0e1f543cb53c26638329b7591884d5e82f9fa1 (diff)
downloadfork-ledger-dfd807f3a491dbcb386ff4b7a9b6bfe2bd7fc6c6.tar.gz
fork-ledger-dfd807f3a491dbcb386ff4b7a9b6bfe2bd7fc6c6.tar.bz2
fork-ledger-dfd807f3a491dbcb386ff4b7a9b6bfe2bd7fc6c6.zip
Revert "Use an std::set instead of an std::list to store the the journal file paths"
This reverts commit 3364850cc7cf73fc67af1ea6cd9a65a32e336623. Fixes #559
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session.h b/src/session.h
index 47732a3d..4dce3816 100644
--- a/src/session.h
+++ b/src/session.h
@@ -153,14 +153,14 @@ public:
OPTION__
(session_t, file_, // -f
- std::set<path COMMA ComparePaths> data_files;
+ std::list<path> data_files;
CTOR(session_t, file_) {}
DO_(str) {
if (parent->flush_on_next_data_file) {
data_files.clear();
parent->flush_on_next_data_file = false;
}
- data_files.insert(str);
+ data_files.push_back(str);
});
OPTION_(session_t, input_date_format_, DO_(str) {