Commit d754f1c6 authored by Matthias Vallentin's avatar Matthias Vallentin

Remove warnings

parent 5607b617
......@@ -167,6 +167,8 @@ protected:
return new_off; // nothing to do
if (get) {
switch (dir) {
default:
return pos_type(off_type(-1));
case std::ios_base::beg:
new_off = 0;
break;
......@@ -182,6 +184,8 @@ protected:
}
if (put) {
switch (dir) {
default:
return pos_type(off_type(-1));
case std::ios_base::beg:
new_off = 0;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment