]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2157] constify
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 15 Jan 2013 19:08:16 +0000 (11:08 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 15 Jan 2013 19:08:16 +0000 (11:08 -0800)
src/bin/auth/tests/auth_srv_unittest.cc

index 405b7b8f40dd829f5f3c7c24209ed1a848b1b5c7..e3d78ac5d2f15e6466a6001127b770f746efc378 100644 (file)
@@ -198,7 +198,7 @@ protected:
     // Check if the counters exist and are initialized to 0.
     void
     checkCountersAreInitialized() {
-        std::map<std::string, int> expect;
+        const std::map<std::string, int> expect;
         ConstElementPtr stats = server.getStatistics()->
             get("zones")->get("_SERVER_");
         checkStatisticsCounters(stats, expect);