]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2435] Revise RRsetCollection constructor doc
authorMukund Sivaraman <muks@isc.org>
Tue, 15 Jan 2013 05:57:45 +0000 (11:27 +0530)
committerMukund Sivaraman <muks@isc.org>
Tue, 15 Jan 2013 05:58:21 +0000 (11:28 +0530)
src/lib/datasrc/database.cc

index 421e3e20183dda6cc777093c015c09b671ffc49a..1dbce99ca9f4ed0ee20bf09b50bbb07a2fae6f6e 100644 (file)
@@ -1377,9 +1377,9 @@ class RRsetCollection : public isc::dns::RRsetCollectionBase {
 public:
     /// \brief Constructor.
     ///
-    /// No reference (count via \c shared_ptr) to the ZoneUpdater is
-    /// acquired. As long as the collection object is alive, the
-    /// corresponding \c ZoneUpdater should be kept alive.
+    /// No reference (count via \c shared_ptr) to the \c ZoneUpdater is
+    /// acquired. The RRsetCollection must not be used after its
+    /// \c ZoneUpdater has been destroyed.
     ///
     /// \param updater The ZoneUpdater to wrap around.
     /// \param rrclass The RRClass of the records in the zone.