]> git.stg.codes - stg.git/blobdiff - include/stg/user_traff.h
Allowed to bind for a particular address/hostname for sgauth.
[stg.git] / include / stg / user_traff.h
index fa4cc7fd49274b5dec88104073bb428202f3b79c..7ed1636152a05a7abd13b2ee6b290889f9c0978e 100644 (file)
@@ -73,17 +73,17 @@ inline DIR_TRAFF & DIR_TRAFF::operator=(const DIR_TRAFF & ts)
 {
 traff = ts.traff;
 return *this;
 {
 traff = ts.traff;
 return *this;
-};
+}
 //-----------------------------------------------------------------------------
 inline uint64_t & DIR_TRAFF::operator[](int idx)
 {
 return traff[idx];
 //-----------------------------------------------------------------------------
 inline uint64_t & DIR_TRAFF::operator[](int idx)
 {
 return traff[idx];
-};
+}
 //-----------------------------------------------------------------------------
 inline uint64_t DIR_TRAFF::operator[](int idx) const
 {
 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)
 {
 //-----------------------------------------------------------------------------
 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;
     traff[i] = traff[i] + ts.traff[i];
     }
 return *this;
-};
+}
 //-----------------------------------------------------------------------------
 inline std::ostream & operator<<(std::ostream & o, const DIR_TRAFF & traff)
 {
 //-----------------------------------------------------------------------------
 inline std::ostream & operator<<(std::ostream & o, const DIR_TRAFF & traff)
 {