From: Mukund Sivaraman Date: Sun, 30 Sep 2012 20:31:37 +0000 (+0530) Subject: [2276] Rename find_internal() to findInternal() as per naming convention X-Git-Tag: trac2402_base~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eff1c6bcb840aa9a8736c6c29a1eeb68eef30279;p=thirdparty%2Fkea.git [2276] Rename find_internal() to findInternal() as per naming convention --- diff --git a/src/lib/datasrc/memory/zone_finder.cc b/src/lib/datasrc/memory/zone_finder.cc index 4325f4715b..6cd8dc6651 100644 --- a/src/lib/datasrc/memory/zone_finder.cc +++ b/src/lib/datasrc/memory/zone_finder.cc @@ -695,8 +695,8 @@ InMemoryZoneFinder::find(const isc::dns::Name& name, const FindOptions options) { return (ZoneFinderContextPtr(new Context(*this, options, rrclass_, - find_internal(name, type, - NULL, options)))); + findInternal(name, type, + NULL, options)))); } boost::shared_ptr @@ -705,17 +705,17 @@ InMemoryZoneFinder::findAll(const isc::dns::Name& name, const FindOptions options) { return (ZoneFinderContextPtr(new Context(*this, options, rrclass_, - find_internal(name, - RRType::ANY(), - &target, - options)))); + findInternal(name, + RRType::ANY(), + &target, + options)))); } ZoneFinderResultContext -InMemoryZoneFinder::find_internal(const isc::dns::Name& name, - const isc::dns::RRType& type, - std::vector* target, - const FindOptions options) +InMemoryZoneFinder::findInternal(const isc::dns::Name& name, + const isc::dns::RRType& type, + std::vector* target, + const FindOptions options) { // Get the node. All other cases than an exact match are handled // in findNode(). We simply construct a result structure and return. diff --git a/src/lib/datasrc/memory/zone_finder.h b/src/lib/datasrc/memory/zone_finder.h index 85e21c3009..c95b5bcef7 100644 --- a/src/lib/datasrc/memory/zone_finder.h +++ b/src/lib/datasrc/memory/zone_finder.h @@ -92,7 +92,7 @@ private: class Context; /// Actual implementation for both find() and findAll() - internal::ZoneFinderResultContext find_internal( + internal::ZoneFinderResultContext findInternal( const isc::dns::Name& name, const isc::dns::RRType& type, std::vector* target,