]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1603] minor style fixes to labelsequence.
authorJINMEI Tatuya <jinmei@isc.org>
Mon, 5 Mar 2012 22:44:25 +0000 (14:44 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Mon, 5 Mar 2012 22:44:25 +0000 (14:44 -0800)
src/lib/dns/labelsequence.h

index 6fb15012de1b3bab426cffa6b26107702e11337a..e8a696a595868b88b7d4d4ec161040839ac044a3 100644 (file)
@@ -105,7 +105,7 @@ public:
     /// \brief Returns the current number of labels for this LabelSequence
     ///
     /// \return The number of labels
-    size_t getLabelCount() const { return last_label_ - first_label_; }
+    size_t getLabelCount() const { return (last_label_ - first_label_); }
 
     /// \brief Returns the original Name object associated with this
     ///        LabelSequence
@@ -116,7 +116,7 @@ public:
     /// LabelSequence itself.
     ///
     /// \return Reference to the original Name object
-    const Name& getName() const { return name_; }
+    const Name& getName() const { return (name_); }
 
     /// \brief Checks whether the label sequence is absolute
     ///