commit 730dfc3c12b65f49deed6d333a1bcbae763005ee
parent 874e87e769292c1dbc817cc03bdd54bb5e9caa82
Author: Paul Bone <paul@bone.id.au>
Date: Thu, 16 Oct 2025 22:26:48 +0000
Bug 1984011 - pt 1. Make DoublyLinkedList's constructor constexpr r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D262267
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mfbt/DoublyLinkedList.h b/mfbt/DoublyLinkedList.h
@@ -129,7 +129,7 @@ class DoublyLinkedList final {
}
public:
- DoublyLinkedList() : mHead(nullptr), mTail(nullptr) {}
+ constexpr DoublyLinkedList() : mHead(nullptr), mTail(nullptr) {}
class Iterator final {
T* mCurrent;