]> git.stg.codes - stg.git/blobdiff - include/stg/user_traff.h
Merge branch 'master' into full-month-stats
[stg.git] / include / stg / user_traff.h
index fdefee0fe26b7f54e7ca885884a65da1a33f433b..7ed1636152a05a7abd13b2ee6b290889f9c0978e 100644 (file)
@@ -30,7 +30,7 @@
 #include <iostream>
 #include <vector>
 
-#include "stg_const.h"
+#include "const.h"
 #include "os_int.h"
 
 enum TRAFF_DIRECTION {TRAFF_UPLOAD, TRAFF_DOWNLOAD};
@@ -73,17 +73,17 @@ inline DIR_TRAFF & DIR_TRAFF::operator=(const DIR_TRAFF & ts)
 {
 traff = ts.traff;
 return *this;
-};
+}
 //-----------------------------------------------------------------------------
 inline uint64_t & DIR_TRAFF::operator[](int idx)
 {
 return traff[idx];
-};
+}
 //-----------------------------------------------------------------------------
 inline uint64_t DIR_TRAFF::operator[](int idx) const
 {
 return traff[idx];
-};
+}
 //-----------------------------------------------------------------------------
 inline DIR_TRAFF DIR_TRAFF::operator+(const DIR_TRAFF & ts)
 {
@@ -92,7 +92,7 @@ for (int i = 0; i < DIR_NUM; i++)
     traff[i] = traff[i] + ts.traff[i];
     }
 return *this;
-};
+}
 //-----------------------------------------------------------------------------
 inline std::ostream & operator<<(std::ostream & o, const DIR_TRAFF & traff)
 {