summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/labelsequence.h
diff options
context:
space:
mode:
authorJINMEI Tatuya <jinmei@isc.org>2012-03-05 23:44:25 +0100
committerJINMEI Tatuya <jinmei@isc.org>2012-03-05 23:44:25 +0100
commitbfb21aba64298f219218cf58ae9b6024c1ed7005 (patch)
treedf8a36bae59d129f822bea6822a36491cb6141fc /src/lib/dns/labelsequence.h
parent[1603] copy the current MessageRenderer files to "old*" for comparison. (diff)
downloadkea-bfb21aba64298f219218cf58ae9b6024c1ed7005.tar.xz
kea-bfb21aba64298f219218cf58ae9b6024c1ed7005.zip
[1603] minor style fixes to labelsequence.
Diffstat (limited to 'src/lib/dns/labelsequence.h')
-rw-r--r--src/lib/dns/labelsequence.h4
1 files changed, 2 insertions, 2 deletions
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
///