fix -Wignored-qualifiers

This commit is contained in:
wmayer
2018-08-19 12:38:57 +02:00
parent 4686f27f64
commit 557fee3dc6
10 changed files with 17 additions and 17 deletions

View File

@@ -479,7 +479,7 @@ void PropertyFileIncluded::SaveDocFile (Base::Writer &writer) const
unsigned char c;
std::ostream& to = writer.Stream();
while (from.get((char&)c)) {
to.put((const char)c);
to.put((char)c);
}
}
@@ -503,7 +503,7 @@ void PropertyFileIncluded::RestoreDocFile(Base::Reader &reader)
aboutToSetValue();
unsigned char c;
while (reader.get((char&)c)) {
to.put((const char)c);
to.put((char)c);
}
to.close();