aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/dmd/root/dcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/d/dmd/root/dcompat.h')
-rw-r--r--gcc/d/dmd/root/dcompat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/d/dmd/root/dcompat.h b/gcc/d/dmd/root/dcompat.h
index db2b2c6..1c89b57 100644
--- a/gcc/d/dmd/root/dcompat.h
+++ b/gcc/d/dmd/root/dcompat.h
@@ -1,5 +1,5 @@
-/* Copyright (C) 1999-2024 by The D Language Foundation, All Rights Reserved
+/* Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* https://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
@@ -18,7 +18,7 @@ struct DArray
size_t length;
T *ptr;
- DArray() : length(0), ptr(NULL) { }
+ DArray() : length(0), ptr(nullptr) { }
DArray(size_t length_in, T *ptr_in)
: length(length_in), ptr(ptr_in) { }