From d0a664d102bb0886dbaf844b6857749f70702ea3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 16 Feb 2009 16:55:18 -0400 Subject: Fixed several unused value and param warnings --- src/pstream.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/pstream.h') diff --git a/src/pstream.h b/src/pstream.h index 1eb8335c..43153e5c 100644 --- a/src/pstream.h +++ b/src/pstream.h @@ -53,6 +53,9 @@ class ptristream : public std::istream { class ptrinbuf : public std::streambuf { + ptrinbuf(const ptrinbuf&); + ptrinbuf& operator=(const ptrinbuf&); + protected: char * ptr; std::size_t len; @@ -77,8 +80,7 @@ class ptristream : public std::istream } virtual pos_type seekoff(off_type off, ios_base::seekdir way, - ios_base::openmode mode = - ios_base::in | ios_base::out) + ios_base::openmode) { switch (way) { case std::ios::cur: -- cgit v1.2.3