]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2853] Update constructor documentation
authorMukund Sivaraman <muks@isc.org>
Thu, 13 Jun 2013 08:11:01 +0000 (13:41 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 13 Jun 2013 08:11:01 +0000 (13:41 +0530)
src/lib/datasrc/client_list.h

index 6fd4bb336cd86405bb5f2577dfc5eb51820d150e..2880e56bd519a3e3b0ea8b560218d4f0ef229c42 100644 (file)
@@ -81,7 +81,8 @@ class DataSourceStatus {
 public:
     /// \brief Constructor
     ///
-    /// Sets initial values.
+    /// Sets initial values. If you want to use \c SEGMENT_UNUSED as the
+    /// state, please use the other constructor.
     DataSourceStatus(const std::string& name, MemorySegmentState state,
                      const std::string& type) :
         name_(name),
@@ -94,8 +95,8 @@ public:
 
     /// \brief Constructor
     ///
-    /// Sets initial values. The state is set as SEGMENT_UNUSED and the
-    /// type is effectively unspecified.
+    /// Sets initial values. The state is set as \c SEGMENT_UNUSED and
+    /// the type is effectively unspecified.
     DataSourceStatus(const std::string& name) :
         name_(name),
         type_(""),