Parcourir la source

[2157] constify

JINMEI Tatuya il y a 12 ans
Parent
commit
826d0c45b0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);