diff options
author | Tim Landscheidt <tim@tim-landscheidt.de> | 2019-01-15 14:21:19 +0000 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2019-01-25 17:10:13 -0300 |
commit | 0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948 (patch) | |
tree | afdbc0ee4d51b2e163e16310ff9d21529cb2c9fe /src/error.cc | |
parent | ccd330746a77cf335b2816a3048a8e25e61f8ed4 (diff) | |
download | fork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.tar.gz fork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.tar.bz2 fork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.zip |
Drop support for gcc 2 and earlier
Diffstat (limited to 'src/error.cc')
-rw-r--r-- | src/error.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/error.cc b/src/error.cc index 7e49645b..1ab92840 100644 --- a/src/error.cc +++ b/src/error.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 @@ -78,10 +78,10 @@ string line_context(const string& line, return buf.str(); } -string source_context(const path& file, - const istream_pos_type pos, - const istream_pos_type end_pos, - const string& prefix) +string source_context(const path& file, + const std::istream::pos_type pos, + const std::istream::pos_type end_pos, + const string& prefix) { const std::streamoff len = end_pos - pos; if (! len || file.empty()) |