Silenced a warning in the very latest Clang

This commit is contained in:
John Wiegley 2012-04-28 05:24:02 -05:00
parent 08a7f5ae07
commit 7b406922e9

View file

@ -93,9 +93,6 @@ class ptristream : public std::istream
case std::ios::end:
setg(ptr, egptr()+off, ptr+len);
break;
default:
return pos_type(off_type(-1));
}
return pos_type(gptr() - ptr);
}