summaryrefslogtreecommitdiffstats
path: root/core/templates/paged_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/templates/paged_allocator.h')
-rw-r--r--core/templates/paged_allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/paged_allocator.h b/core/templates/paged_allocator.h
index d880eae0c3..48110d37e5 100644
--- a/core/templates/paged_allocator.h
+++ b/core/templates/paged_allocator.h
@@ -101,7 +101,7 @@ public:
private:
void _reset(bool p_allow_unfreed) {
- if (!p_allow_unfreed || !std::is_trivially_destructible<T>::value) {
+ if (!p_allow_unfreed || !std::is_trivially_destructible_v<T>) {
ERR_FAIL_COND(allocs_available < pages_allocated * page_size);
}
if (pages_allocated) {