diff options
author | Craig-Stoneham <51797383+Craig-Stoneham@users.noreply.github.com> | 2024-07-09 17:02:21 +0100 |
---|---|---|
committer | Craig-Stoneham <51797383+Craig-Stoneham@users.noreply.github.com> | 2024-08-25 18:10:51 +0100 |
commit | 604df4fc83dce859e42fe511acb527523b4f18e9 (patch) | |
tree | fd12756b164af493ec972d2db897abaa24b97c1e /modules/gdscript/gdscript_editor.cpp | |
parent | e3550cb20f5d6a61befaafb7d9cbdb57b24870e4 (diff) | |
download | redot-engine-604df4fc83dce859e42fe511acb527523b4f18e9.tar.gz |
Improve Template Class Conditionals (Code Style)
Refactored the following template classes by replacing runtime checks with compile-time checks using if constexpr for improved code clarity and maintainability:
- RID_Alloc
- SortArray
- PagedAllocator
Changes made:
- Updated conditional checks for THREAD_SAFE in the RID_Alloc class.
- Updated conditional checks for Validate in the SortArray class.
- Updated conditional checks for thread_safe in the PagedAllocator class.
Diffstat (limited to 'modules/gdscript/gdscript_editor.cpp')
0 files changed, 0 insertions, 0 deletions