]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libphobos/src/std/container/dlist.d
d: Merge upstream dmd 3982604c5, druntime bc58b1e9, phobos 12329adb6.
[thirdparty/gcc.git] / libphobos / src / std / container / dlist.d
index cc3e2e85dbcc56647a9feb3cc4b4cac15c8c18ea..32d56ecc73396b972d4292e5a05376cfa744ae51 100644 (file)
@@ -196,6 +196,12 @@ struct DList(T)
 
         T _payload = T.init;
 
+        this (BaseNode _base, T _payload)
+        {
+            this._base = _base;
+            this._payload = _payload;
+        }
+
         inout(BaseNode)* asBaseNode() inout @trusted
         {
             return &_base;