]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_cdsa_utilities/lib/cssmlist.cpp
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / libsecurity_cdsa_utilities / lib / cssmlist.cpp
index 911cf2c6a0105b9b4a1d7d184f321730a133d166..055bf7da44c6d3f439ba0852be005122582fe651 100644 (file)
@@ -152,6 +152,14 @@ ListElement &CssmList::operator [] (unsigned ix) const
        throw 999;      //@@@
 }
 
        throw 999;      //@@@
 }
 
+CssmList &CssmList::operator =(const CssmList& other)
+{
+    ListType = other.ListType;
+    Head = other.Head;
+    Tail = other.Tail;
+    return *this;
+}
+
 unsigned int CssmList::length() const
 {
        unsigned int len = 0;
 unsigned int CssmList::length() const
 {
        unsigned int len = 0;