Commit 12b34733 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1062] unconst find()

parent cfd1d9e1
...@@ -156,7 +156,7 @@ ZoneFinder::FindResult ...@@ -156,7 +156,7 @@ ZoneFinder::FindResult
DatabaseClient::Finder::find(const isc::dns::Name& name, DatabaseClient::Finder::find(const isc::dns::Name& name,
const isc::dns::RRType& type, const isc::dns::RRType& type,
isc::dns::RRsetList*, isc::dns::RRsetList*,
const FindOptions) const const FindOptions)
{ {
// This variable is used to determine the difference between // This variable is used to determine the difference between
// NXDOMAIN and NXRRSET // NXDOMAIN and NXRRSET
......
...@@ -236,8 +236,7 @@ public: ...@@ -236,8 +236,7 @@ public:
virtual FindResult find(const isc::dns::Name& name, virtual FindResult find(const isc::dns::Name& name,
const isc::dns::RRType& type, const isc::dns::RRType& type,
isc::dns::RRsetList* target = NULL, isc::dns::RRsetList* target = NULL,
const FindOptions options = FIND_DEFAULT) const FindOptions options = FIND_DEFAULT);
const;
/** /**
* \brief The zone ID * \brief The zone ID
......
...@@ -618,7 +618,7 @@ InMemoryZoneFinder::getClass() const { ...@@ -618,7 +618,7 @@ InMemoryZoneFinder::getClass() const {
ZoneFinder::FindResult ZoneFinder::FindResult
InMemoryZoneFinder::find(const Name& name, const RRType& type, InMemoryZoneFinder::find(const Name& name, const RRType& type,
RRsetList* target, const FindOptions options) const RRsetList* target, const FindOptions options)
{ {
return (impl_->find(name, type, target, options)); return (impl_->find(name, type, target, options));
} }
......
...@@ -73,7 +73,7 @@ public: ...@@ -73,7 +73,7 @@ public:
virtual FindResult find(const isc::dns::Name& name, virtual FindResult find(const isc::dns::Name& name,
const isc::dns::RRType& type, const isc::dns::RRType& type,
isc::dns::RRsetList* target = NULL, isc::dns::RRsetList* target = NULL,
const FindOptions options = FIND_DEFAULT) const; const FindOptions options = FIND_DEFAULT);
/// \brief Inserts an rrset into the zone. /// \brief Inserts an rrset into the zone.
/// ///
......
...@@ -197,7 +197,7 @@ public: ...@@ -197,7 +197,7 @@ public:
const isc::dns::RRType& type, const isc::dns::RRType& type,
isc::dns::RRsetList* target = NULL, isc::dns::RRsetList* target = NULL,
const FindOptions options const FindOptions options
= FIND_DEFAULT) const = 0; = FIND_DEFAULT) = 0;
//@} //@}
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment