X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=contrib%2Fldapc%2B%2B%2Fsrc%2FLDAPModList.cpp;h=d49d97dca6d58bf4dab1aa193c76206ce5f60381;hb=4d0d12db27b3b44cc36acc089b0e640320480fe7;hp=738cc4347e7ab54e630f117a6cc422c621d7c625;hpb=93529d26c5b0866a38e35613305fc7bc373171e3;p=openldap diff --git a/contrib/ldapc++/src/LDAPModList.cpp b/contrib/ldapc++/src/LDAPModList.cpp index 738cc4347e..d49d97dca6 100644 --- a/contrib/ldapc++/src/LDAPModList.cpp +++ b/contrib/ldapc++/src/LDAPModList.cpp @@ -1,6 +1,6 @@ // $OpenLDAP$ /* - * Copyright 2000-2007, OpenLDAP Foundation, All Rights Reserved. + * Copyright 2000-2012 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ @@ -38,3 +38,11 @@ LDAPMod** LDAPModList::toLDAPModArray(){ } return ret; } + +bool LDAPModList::empty() const { + return m_modList.empty(); +} + +unsigned int LDAPModList::size() const { + return m_modList.size(); +}