diff --git a/src/util/IntrusiveForwardList.hxx b/src/util/IntrusiveForwardList.hxx index 147c1b62f..f496ea9d6 100644 --- a/src/util/IntrusiveForwardList.hxx +++ b/src/util/IntrusiveForwardList.hxx @@ -42,7 +42,7 @@ #include struct IntrusiveForwardListNode { - IntrusiveForwardListNode *next = nullptr; + IntrusiveForwardListNode *next; }; struct IntrusiveForwardListHook { @@ -122,7 +122,7 @@ template, bool constant_time_size=false> class IntrusiveForwardList { - IntrusiveForwardListNode head; + IntrusiveForwardListNode head{nullptr}; [[no_unique_address]] OptionalCounter counter;