From 7385235e29b3d46bfc6d205f88cdbffe6b9b8997 Mon Sep 17 00:00:00 2001 From: Niels Eppenhof Date: Mon, 19 May 2025 14:58:41 +0200 Subject: [PATCH] Removed TINYGLTF_USE_CPP14 option since it is unused --- README.md | 1 - tiny_gltf.h | 6 ------ 2 files changed, 7 deletions(-) diff --git a/README.md b/README.md index ffe3892..9d10697 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,6 @@ if (!ret) { * `TINYGLTF_NO_INCLUDE_STB_IMAGE `: Disable including `stb_image.h` from within `tiny_gltf.h` because it has been already included before or you want to include it using custom path before including `tiny_gltf.h`. * `TINYGLTF_NO_INCLUDE_STB_IMAGE_WRITE `: Disable including `stb_image_write.h` from within `tiny_gltf.h` because it has been already included before or you want to include it using custom path before including `tiny_gltf.h`. * `TINYGLTF_USE_RAPIDJSON` : Use RapidJSON as a JSON parser/serializer. RapidJSON files are not included in TinyGLTF repo. Please set an include path to RapidJSON if you enable this feature. -* `TINYGLTF_USE_CPP14` : Use C++14 feature(requires C++14 compiler). This may give better performance than C++11. ## CMake options diff --git a/tiny_gltf.h b/tiny_gltf.h index b0eac71..7612804 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -50,12 +50,6 @@ #include #include -// Auto-detect C++14 standard version -#if !defined(TINYGLTF_USE_CPP14) && defined(__cplusplus) && \ - (__cplusplus >= 201402L) -#define TINYGLTF_USE_CPP14 -#endif - #ifdef __ANDROID__ #ifdef TINYGLTF_ANDROID_LOAD_FROM_ASSETS #include