From 0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Tue, 15 Jan 2019 14:21:19 +0000 Subject: Drop support for gcc 2 and earlier --- src/format.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/format.cc') diff --git a/src/format.cc b/src/format.cc index bb578141..5b9baa21 100644 --- a/src/format.cc +++ b/src/format.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 @@ -103,7 +103,7 @@ namespace { p += std::strlen(p); } else { assert(str.good()); - istream_pos_type pos = str.tellg(); + std::istream::pos_type pos = str.tellg(); expr.set_text(string(p, p + long(pos))); p += long(pos) - 1; -- cgit v1.2.3