Added default value for clang (has unreachable enum value)

This commit is contained in:
AdenKoperczak 2024-09-19 11:35:41 -04:00
parent 97b5b6f4ca
commit e683154f02

View file

@ -224,6 +224,9 @@ QFileBuffer::pos_type QFileBuffer::seekoff(off_type off,
break; break;
} }
default:
logger_->error("Got invalid seekdir value");
break;
} }
if (newPos != static_cast<off_type>(-1)) if (newPos != static_cast<off_type>(-1))