Browse Source

[2157] constify

JINMEI Tatuya 12 years ago
parent
commit
826d0c45b0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/auth/tests/auth_srv_unittest.cc

+ 1 - 1
src/bin/auth/tests/auth_srv_unittest.cc

@@ -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);