refactor: migrate NBT storage to unique_ptr, remove -fpermissive

CompoundTag/ListTag now use unique_ptr internally, fixing multiple memory leaks in getCompound/getList/getAllTags and tag overwrite paths.
This commit is contained in:
MatthewBeshay
2026-03-31 13:27:00 +11:00
parent 07861307a2
commit 2a7e5dc1d4
8 changed files with 110 additions and 124 deletions
-1
View File
@@ -40,7 +40,6 @@ endif
add_project_arguments(global_cpp_defs, language: ['cpp', 'c'])
global_cpp_args = [
'-fpermissive',
'-Wshift-count-overflow',
'-pipe',
]