Selaa lähdekoodia

Merge pull request #3581 from assimp/build_fixes

Use const instead of constexpr
Kim Kulling 4 vuotta sitten
vanhempi
commit
20873cb142
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      code/AssetLib/AC/ACLoader.h

+ 1 - 2
code/AssetLib/AC/ACLoader.h

@@ -4,7 +4,6 @@ Open Asset Import Library (assimp)
 
 Copyright (c) 2006-2020, assimp team
 
-
 All rights reserved.
 
 Redistribution and use of this software in source and binary forms,
@@ -117,7 +116,7 @@ public:
             Mask = 0xf,
         };
 
-        inline constexpr uint8_t GetType() const { return (flags & Mask); }
+        inline const uint8_t GetType() const { return (flags & Mask); }
     };
 
     // Represents an AC3D object