summaryrefslogtreecommitdiff
path: root/src/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/error.h b/src/error.h
index 45c0cc68..42eab8d9 100644
--- a/src/error.h
+++ b/src/error.h
@@ -91,10 +91,10 @@ string line_context(const string& line,
std::size_t pos = 0,
std::size_t end_pos = 0);
-string source_context(const path& file,
- std::size_t pos,
- std::size_t end_pos,
- const string& prefix = "");
+string source_context(const path& file,
+ istream_pos_type pos,
+ istream_pos_type end_pos,
+ const string& prefix = "");
#define DECLARE_EXCEPTION(name, kind) \
class name : public kind { \