From: hno <> Date: Sun, 8 May 2005 12:53:58 +0000 (+0000) Subject: Further cleanup of acl->empty() methods X-Git-Tag: SQUID_3_0_PRE4~775 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bebfd93355f97a8ad522f7581b913bc3625a50c;p=thirdparty%2Fsquid.git Further cleanup of acl->empty() methods - Fix dst acl - Refactor empty validation of splay trees --- diff --git a/src/ACLARP.cc b/src/ACLARP.cc index 8261c6b884..bee51796d7 100644 --- a/src/ACLARP.cc +++ b/src/ACLARP.cc @@ -1,5 +1,5 @@ /* - * $Id: ACLARP.cc,v 1.14 2005/05/08 06:36:45 hno Exp $ + * $Id: ACLARP.cc,v 1.15 2005/05/08 06:53:58 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -120,7 +120,7 @@ ACLARP::typeString() const bool ACLARP::empty () const { - return data == NULL; + return data->empty(); } /* ==== BEGIN ARP ACL SUPPORT ============================================= */ diff --git a/src/ACLDestinationDomain.cc b/src/ACLDestinationDomain.cc index 97a9d072b1..c403d80e2a 100644 --- a/src/ACLDestinationDomain.cc +++ b/src/ACLDestinationDomain.cc @@ -1,5 +1,5 @@ /* - * $Id: ACLDestinationDomain.cc,v 1.9 2005/05/08 06:36:45 hno Exp $ + * $Id: ACLDestinationDomain.cc,v 1.10 2005/05/08 06:53:58 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -106,7 +106,7 @@ ACLDestinationDomain::dump() const bool ACLDestinationDomain::empty () const { - return data == NULL; + return data->empty(); } DestinationDomainLookup DestinationDomainLookup::instance_; diff --git a/src/ACLExtUser.cc b/src/ACLExtUser.cc index 99a00b7ea1..341f46b0b8 100644 --- a/src/ACLExtUser.cc +++ b/src/ACLExtUser.cc @@ -1,5 +1,5 @@ /* - * $Id: ACLExtUser.cc,v 1.7 2005/05/08 06:36:45 hno Exp $ + * $Id: ACLExtUser.cc,v 1.8 2005/05/08 06:53:58 hno Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -94,7 +94,7 @@ ACLExtUser::dump() const bool ACLExtUser::empty () const { - return data == NULL; + return data->empty(); } ACL * diff --git a/src/ACLIP.cc b/src/ACLIP.cc index 3ca6fc7585..0d3a5c856f 100644 --- a/src/ACLIP.cc +++ b/src/ACLIP.cc @@ -355,7 +355,7 @@ ACLIP::dump() const bool ACLIP::empty () const { - return data == NULL; + return data->empty(); } int diff --git a/src/ACLIdent.cc b/src/ACLIdent.cc index 2aa48b2eba..250aba5185 100644 --- a/src/ACLIdent.cc +++ b/src/ACLIdent.cc @@ -100,7 +100,7 @@ ACLIdent::dump() const bool ACLIdent::empty () const { - return data == NULL; + return data->empty(); } ACL *