Skip to content

Commit fc5b3c2

Browse files
committed
Some fixes and optimisations
1 parent 0da8992 commit fc5b3c2

File tree

4 files changed

+107
-90
lines changed

4 files changed

+107
-90
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if (SIMDJSON_TARGET_VERSION)
9898
endif()
9999

100100
if (SIMDJSON_VERBOSE_LOGGING)
101-
target_compile_definitions(fastgltf_simdjson PUBLIC SIMDJSON_VERBOSE_LOGGING=1)
101+
target_compile_definitions(fastgltf PUBLIC SIMDJSON_VERBOSE_LOGGING=1)
102102
endif()
103103

104104
target_compile_definitions(fastgltf PUBLIC "FASTGLTF_USE_CUSTOM_SMALLVECTOR=$<BOOL:${FASTGLTF_USE_CUSTOM_SMALLVECTOR}>")

include/fastgltf/types.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,6 +1909,10 @@ namespace fastgltf {
19091909
Optional<SparseAccessor> sparse;
19101910

19111911
FASTGLTF_STD_PMR_NS::string name;
1912+
1913+
explicit Accessor() = default;
1914+
Accessor(const Accessor& accessor) = default;
1915+
Accessor(Accessor&& accessor) noexcept = default;
19121916
};
19131917

19141918
struct CompressedBufferView {

0 commit comments

Comments
 (0)