Fix c++11 usage.
parent
3d79472172
commit
75c7b15b55
|
@ -75,7 +75,7 @@ void MDLImporter::SearchPalette(const unsigned char** pszColorMap)
|
||||||
{
|
{
|
||||||
if (pcStream->FileSize() >= 768)
|
if (pcStream->FileSize() >= 768)
|
||||||
{
|
{
|
||||||
constexpr size_t len = 256 * 3;
|
size_t len = 256 * 3;
|
||||||
unsigned char* colorMap = new unsigned char[len];
|
unsigned char* colorMap = new unsigned char[len];
|
||||||
szColorMap = colorMap;
|
szColorMap = colorMap;
|
||||||
pcStream->Read(colorMap, len,1);
|
pcStream->Read(colorMap, len,1);
|
||||||
|
|
Loading…
Reference in New Issue