|
@@ -113,7 +113,7 @@ Discreet3DSImporter::~Discreet3DSImporter() {
|
|
|
// Returns whether the class can handle the format of the given file.
|
|
|
bool Discreet3DSImporter::CanRead(const std::string &pFile, IOSystem *pIOHandler, bool /*checkSig*/) const {
|
|
|
static const uint16_t token[] = { 0x4d4d, 0x3dc2 /*, 0x3daa */ };
|
|
|
- return CheckMagicToken(pIOHandler, pFile, token, std::size(token), 0, sizeof token[0]);
|
|
|
+ return CheckMagicToken(pIOHandler, pFile, token, AI_COUNT_OF(token), 0, sizeof token[0]);
|
|
|
}
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|