[*] Few C++11 constructions are removed.

pull/972/head
Alexandr Arutjunov 2016-08-13 16:09:21 +03:00
parent 0ad2f2247a
commit 1844665693
2 changed files with 4 additions and 3 deletions

View File

@ -54,6 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <stdexcept> #include <stdexcept>
#include <cstdlib>
#define RAPIDJSON_HAS_STDSTRING 1 #define RAPIDJSON_HAS_STDSTRING 1
#include <rapidjson/rapidjson.h> #include <rapidjson/rapidjson.h>
@ -733,7 +734,7 @@ namespace glTF
/// \struct SCompression_Open3DGC /// \struct SCompression_Open3DGC
/// Compression of mesh data using Open3DGC algorythm. /// Compression of mesh data using Open3DGC algorythm.
struct SCompression_Open3DGC final : public SExtension struct SCompression_Open3DGC : public SExtension
{ {
using SExtension::Type; using SExtension::Type;

View File

@ -343,7 +343,7 @@ inline void Buffer::EncodedRegion_Mark(const size_t pOffset, const size_t pEncod
// Check offset // Check offset
if(pOffset > byteLength) if(pOffset > byteLength)
{ {
constexpr uint8_t val_size = 32; const uint8_t val_size = 32;
char val[val_size]; char val[val_size];
@ -354,7 +354,7 @@ inline void Buffer::EncodedRegion_Mark(const size_t pOffset, const size_t pEncod
// Check length // Check length
if((pOffset + pEncodedData_Length) > byteLength) if((pOffset + pEncodedData_Length) > byteLength)
{ {
constexpr uint8_t val_size = 64; const uint8_t val_size = 64;
char val[val_size]; char val[val_size];