mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Moving last std container to similar in Qt library
This commit is contained in:
parent
f1b671c233
commit
3d773dd5b0
@ -332,7 +332,8 @@ struct ChunkData {
|
||||
|
||||
QString ReadDescriptionName(QFile& f) {
|
||||
constexpr int kNameSize = 9;
|
||||
std::array<char, kNameSize> name;
|
||||
QVector<char> name(kNameSize);
|
||||
|
||||
const auto readed = f.read(name.data(), kNameSize - 1);
|
||||
Q_ASSERT(readed == kNameSize - 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user