summaryrefslogtreecommitdiff
path: root/src/op.cc
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/op.cc
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/op.cc')
-rw-r--r--src/op.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op.cc b/src/op.cc
index 00b84459..5801b1dd 100644
--- a/src/op.cc
+++ b/src/op.cc
@@ -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
@@ -963,7 +963,7 @@ void expr_t::op_t::dump(std::ostream& out, const int depth) const
string op_context(const expr_t::ptr_op_t op,
const expr_t::ptr_op_t locus)
{
- ostream_pos_type start_pos, end_pos;
+ std::ostream::pos_type start_pos, end_pos;
expr_t::op_t::context_t context(op, locus, &start_pos, &end_pos);
std::ostringstream buf;
buf << " ";