diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-16 16:55:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-16 16:55:18 -0400 |
commit | d0a664d102bb0886dbaf844b6857749f70702ea3 (patch) | |
tree | 4994ad85c9c743ed13346ba94daea47a389a9bfd /src/pstream.h | |
parent | 32e2d58d4372f34726b4de59e3b0cdc0540ad474 (diff) | |
download | fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.gz fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.tar.bz2 fork-ledger-d0a664d102bb0886dbaf844b6857749f70702ea3.zip |
Fixed several unused value and param warnings
Diffstat (limited to 'src/pstream.h')
-rw-r--r-- | src/pstream.h | 6 |
1 files changed, 4 insertions, 2 deletions
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: |