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/error.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/error.h') diff --git a/src/error.h b/src/error.h index bc9953cd..3bdcde98 100644 --- a/src/error.h +++ b/src/error.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 @@ -81,10 +81,10 @@ string line_context(const string& line, const string::size_type pos = 0, const string::size_type end_pos = 0); -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 = ""); #define DECLARE_EXCEPTION(name, kind) \ class name : public kind { \ -- cgit v1.2.3