X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..97692c8c5c3f421e2547ed8216e3c95ce14e7026:/include/stg/user_traff.h?ds=inline diff --git a/include/stg/user_traff.h b/include/stg/user_traff.h index fa4cc7fd..7ed16361 100644 --- a/include/stg/user_traff.h +++ b/include/stg/user_traff.h @@ -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) {