mirror of https://github.com/AxioDL/amuse.git
Windows build fix
This commit is contained in:
parent
3a7b43a63a
commit
596bc66ce6
|
@ -1802,7 +1802,9 @@ static std::vector<std::pair<SystemString, ContainerRegistry::SongData>> LoadPap
|
||||||
|
|
||||||
std::unique_ptr<uint8_t[]> songData(new uint8_t[len - 32]);
|
std::unique_ptr<uint8_t[]> songData(new uint8_t[len - 32]);
|
||||||
memcpy(songData.get(), (data.get() + off + 32), len - 32);
|
memcpy(songData.get(), (data.get() + off + 32), len - 32);
|
||||||
ret.emplace_back(SystemString(songDescs[song].name, 30), ContainerRegistry::SongData(std::move(songData), len - 32, songDescs[song].group, songDescs[song].setup));
|
ret.emplace_back(StrToSys(std::string(songDescs[song].name, 30)),
|
||||||
|
ContainerRegistry::SongData(std::move(songData), len - 32,
|
||||||
|
songDescs[song].group, songDescs[song].setup));
|
||||||
off += len;
|
off += len;
|
||||||
song++;
|
song++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue