From: JINMEI Tatuya Date: Mon, 5 Mar 2012 22:44:25 +0000 (-0800) Subject: [1603] minor style fixes to labelsequence. X-Git-Tag: trac2351_base~226^2~116^2~121^2~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfb21aba64298f219218cf58ae9b6024c1ed7005;p=thirdparty%2Fkea.git [1603] minor style fixes to labelsequence. --- diff --git a/src/lib/dns/labelsequence.h b/src/lib/dns/labelsequence.h index 6fb15012de..e8a696a595 100644 --- a/src/lib/dns/labelsequence.h +++ b/src/lib/dns/labelsequence.h @@ -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 ///