Browse Source

[2108] Move iterator.h include to the header file

Mukund Sivaraman 12 years ago
parent
commit
32c4d7fa5d

+ 0 - 1
src/lib/datasrc/memory/memory_client.cc

@@ -25,7 +25,6 @@
 
 
 #include <util/memory_segment_local.h>
 #include <util/memory_segment_local.h>
 
 
-#include <datasrc/iterator.h>
 #include <datasrc/data_source.h>
 #include <datasrc/data_source.h>
 #include <datasrc/factory.h>
 #include <datasrc/factory.h>
 #include <datasrc/result.h>
 #include <datasrc/result.h>

+ 3 - 2
src/lib/datasrc/memory/memory_client.h

@@ -15,6 +15,7 @@
 #ifndef DATASRC_MEMORY_CLIENT_H
 #ifndef DATASRC_MEMORY_CLIENT_H
 #define DATASRC_MEMORY_CLIENT_H 1
 #define DATASRC_MEMORY_CLIENT_H 1
 
 
+#include <datasrc/iterator.h>
 #include <datasrc/client.h>
 #include <datasrc/client.h>
 #include <datasrc/memory/zone_table.h>
 #include <datasrc/memory/zone_table.h>
 
 
@@ -205,8 +206,8 @@ public:
     findZone(const isc::dns::Name& name) const;
     findZone(const isc::dns::Name& name) const;
 
 
     /// \brief Implementation of the getIterator method
     /// \brief Implementation of the getIterator method
-    virtual ZoneIteratorPtr getIterator(const isc::dns::Name& name,
-                                        bool separate_rrs = false) const;
+    virtual isc::datasrc::ZoneIteratorPtr
+    getIterator(const isc::dns::Name& name, bool separate_rrs = false) const;
 
 
     /// In-memory data source doesn't write back peristently, so this
     /// In-memory data source doesn't write back peristently, so this
     /// derived method will result in a NotImplemented exception.
     /// derived method will result in a NotImplemented exception.