diff options
author | Gavin Howard <gavin@yzena.com> | 2021-07-04 01:01:56 -0600 |
---|---|---|
committer | Gavin Howard <gavin@yzena.com> | 2021-07-04 01:01:56 -0600 |
commit | 0173e50464199a5162db1134648c8006a543221e (patch) | |
tree | cbe9e10922589d440d813a600ae107e840bc11e9 /include | |
parent | ab4bc5b44e9fc81a62df068c38224d6c352968f4 (diff) | |
download | platform_external_bc-0173e50464199a5162db1134648c8006a543221e.tar.gz platform_external_bc-0173e50464199a5162db1134648c8006a543221e.tar.bz2 platform_external_bc-0173e50464199a5162db1134648c8006a543221e.zip |
Make bc_func_free() be only used in debug builds
It turns out that I made a change to already make this the case, but
this commit just makes sure that the change is locked in stone and that
even dc cannot access it in a non-debug build.
Signed-off-by: Gavin Howard <gavin@yzena.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vector.h b/include/vector.h index 79422c9c..e0b73286 100644 --- a/include/vector.h +++ b/include/vector.h @@ -65,10 +65,10 @@ typedef enum BcDtorType { #if !BC_ENABLE_LIBRARY #ifndef NDEBUG BC_DTOR_ID, + BC_DTOR_FUNC, #endif // NDEBUG BC_DTOR_SLAB, BC_DTOR_CONST, - BC_DTOR_FUNC, BC_DTOR_RESULT, #if BC_ENABLE_HISTORY BC_DTOR_HISTORY_STRING, |