[*] Few C++11 constructions are removed.
parent
0ad2f2247a
commit
1844665693
|
@ -54,6 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <vector>
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
#include <cstdlib>
|
||||
|
||||
#define RAPIDJSON_HAS_STDSTRING 1
|
||||
#include <rapidjson/rapidjson.h>
|
||||
|
@ -733,7 +734,7 @@ namespace glTF
|
|||
|
||||
/// \struct SCompression_Open3DGC
|
||||
/// Compression of mesh data using Open3DGC algorythm.
|
||||
struct SCompression_Open3DGC final : public SExtension
|
||||
struct SCompression_Open3DGC : public SExtension
|
||||
{
|
||||
using SExtension::Type;
|
||||
|
||||
|
|
|
@ -343,7 +343,7 @@ inline void Buffer::EncodedRegion_Mark(const size_t pOffset, const size_t pEncod
|
|||
// Check offset
|
||||
if(pOffset > byteLength)
|
||||
{
|
||||
constexpr uint8_t val_size = 32;
|
||||
const uint8_t val_size = 32;
|
||||
|
||||
char val[val_size];
|
||||
|
||||
|
@ -354,7 +354,7 @@ inline void Buffer::EncodedRegion_Mark(const size_t pOffset, const size_t pEncod
|
|||
// Check length
|
||||
if((pOffset + pEncodedData_Length) > byteLength)
|
||||
{
|
||||
constexpr uint8_t val_size = 64;
|
||||
const uint8_t val_size = 64;
|
||||
|
||||
char val[val_size];
|
||||
|
||||
|
|
Loading…
Reference in New Issue