Browse Source

Fix the error caused by last change.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac449@4144 e5f2f494-b856-4b98-b285-d166d9295462
Likun Zhang 14 years ago
parent
commit
07e2027098
2 changed files with 3 additions and 2 deletions
  1. 2 1
      src/lib/cache/rrset_entry.cc
  2. 1 1
      src/lib/cache/rrset_entry.h

+ 2 - 1
src/lib/cache/rrset_entry.cc

@@ -29,8 +29,9 @@ RRsetEntry::RRsetEntry(const isc::dns::RRset&,
 {
 }
 
-boost::shared_ptr<RRset>
+boost::shared_ptr<isc::dns::RRset>
 RRsetEntry::genRRset() const {
+    return boost::shared_ptr<isc::dns::RRset> ();
 }
 
 time_t

+ 1 - 1
src/lib/cache/rrset_entry.h

@@ -69,7 +69,7 @@ public:
     RRsetEntry(const isc::dns::RRset& rrset, const RRsetTrustLevel& level);
 
     /// \brief Generate one rrset according the entry information.
-    boost::shared_ptr<RRset> genRRset() const;
+    boost::shared_ptr<isc::dns::RRset> genRRset() const;
     
     /// \brief Get the expiration time of the rrset.
     time_t getExpireTime() const;