]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/postgresql_store.h
Catch exception via const reference instead of value
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store.h
index ba738bc067d3000dcfa2cb2ebc77bf052c4ae714..d273803df0ec235536328fb95eae774e37b1a3e3 100644 (file)
@@ -72,7 +72,7 @@ public:
                             double cash,
                             double freeMb,
                             const std::string & reason) const;
                             double cash,
                             double freeMb,
                             const std::string & reason) const;
-    int WriteDetailedStat(const std::map<IP_DIR_PAIR, STAT_NODE> & statTree,
+    int WriteDetailedStat(const TRAFF_STAT & statTree,
                           time_t lastStat,
                           const std::string & login) const;
 
                           time_t lastStat,
                           const std::string & login) const;