]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1603] cleanup: constify a member function.
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 9 Mar 2012 18:15:04 +0000 (10:15 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 9 Mar 2012 18:15:04 +0000 (10:15 -0800)
src/lib/dns/messagerenderer.cc

index 784d5ff6128cbe53fdb62e4104892f92170584a1..511b316879ac4a0b9c6800c0bfdd52d2ff8bfa12 100644 (file)
@@ -178,7 +178,7 @@ struct MessageRenderer::MessageRendererImpl {
     }
 
     uint16_t findOffset(const OutputBuffer& buffer, InputBuffer& name_buf,
-                        size_t hash, bool case_sensitive)
+                        size_t hash, bool case_sensitive) const
     {
         // Find a matching entry, if any.  We use some heuristics here: often
         // the same name appers consecutively (like repeating the same owner