summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/parser.h b/src/parser.h
index c1289b47..a95a9e21 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -15,10 +15,10 @@ class parser_t
virtual bool test(std::istream& in) const = 0;
- virtual unsigned int parse(std::istream& in,
- journal_t * journal,
- account_t * master = NULL,
- const string * original_file = NULL) = 0;
+ virtual unsigned int parse(std::istream& in,
+ journal_t * journal,
+ account_t * master = NULL,
+ const optional<path>& original = optional<path>()) = 0;
};
DECLARE_EXCEPTION(parse_error);