summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorTim Landscheidt <tim@tim-landscheidt.de>2019-01-15 14:21:19 +0000
committerMartin Michlmayr <tbm@cyrius.com>2019-01-25 17:10:13 -0300
commit0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948 (patch)
treeafdbc0ee4d51b2e163e16310ff9d21529cb2c9fe /src/item.h
parentccd330746a77cf335b2816a3048a8e25e61f8ed4 (diff)
downloadfork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.tar.gz
fork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.tar.bz2
fork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.zip
Drop support for gcc 2 and earlier
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/item.h b/src/item.h
index a28bf59e..51539eff 100644
--- a/src/item.h
+++ b/src/item.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003-2018, John Wiegley. All rights reserved.
+ * Copyright (c) 2003-2019, John Wiegley. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -48,12 +48,12 @@ namespace ledger {
struct position_t
{
- path pathname;
- istream_pos_type beg_pos;
- std::size_t beg_line;
- istream_pos_type end_pos;
- std::size_t end_line;
- std::size_t sequence;
+ path pathname;
+ std::istream::pos_type beg_pos;
+ std::size_t beg_line;
+ std::istream::pos_type end_pos;
+ std::size_t end_line;
+ std::size_t sequence;
position_t()
: beg_pos(0), beg_line(0), end_pos(0), end_line(0), sequence(0) {