summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/labelsequence.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dns/labelsequence.h')
-rw-r--r--src/lib/dns/labelsequence.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dns/labelsequence.h b/src/lib/dns/labelsequence.h
index 87704f6093..686442f146 100644
--- a/src/lib/dns/labelsequence.h
+++ b/src/lib/dns/labelsequence.h
@@ -32,7 +32,7 @@ public:
void split(int i);
- size_t getLabelCount() { return last_label_ - first_label_; }
+ size_t getLabelCount() const { return last_label_ - first_label_; }
const Name& getName() const { return name_; }