From: Mukund Sivaraman Date: Wed, 9 Jan 2013 05:17:02 +0000 (+0530) Subject: [2435] Remove the DatasrcIter implementation for now X-Git-Tag: bind10-1.0.0-rc-release~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=716eeec4d6fc5d5db9a8dba8b242fd541380a92f;p=thirdparty%2Fkea.git [2435] Remove the DatasrcIter implementation for now It is not complete and unused, as the getBeginning() and getEnd() methods simply throw now. --- diff --git a/src/lib/datasrc/rrset_collection.h b/src/lib/datasrc/rrset_collection.h index 4effd4fb48..6ad494a36d 100644 --- a/src/lib/datasrc/rrset_collection.h +++ b/src/lib/datasrc/rrset_collection.h @@ -58,28 +58,8 @@ private: ZoneUpdaterPtr updater_; protected: - class DatasrcIter : public RRsetCollectionBase::Iter { - public: - DatasrcIter() - {} - - virtual const isc::dns::AbstractRRset& getValue() { - isc_throw(isc::NotImplemented, "This method is not implemented."); - } - - virtual IterPtr getNext() { - isc_throw(isc::NotImplemented, "This method is not implemented."); - } - - virtual bool equals(Iter& other) { - const DatasrcIter* other_real = dynamic_cast(&other); - if (other_real == NULL) { - return (false); - } - - isc_throw(isc::NotImplemented, "This method is not implemented."); - } - }; + // TODO: RRsetCollectionBase::Iter is not implemented and the + // following two methods just throw. virtual RRsetCollectionBase::IterPtr getBeginning(); virtual RRsetCollectionBase::IterPtr getEnd();