X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/22cb2560274e05e6490cf964cbbeb74a1991c642..8c6fa3fbaccc22127280bf77a48fab5a3ee0716e:/include/stg/user_traff.h diff --git a/include/stg/user_traff.h b/include/stg/user_traff.h index d820588e..3ca9768e 100644 --- a/include/stg/user_traff.h +++ b/include/stg/user_traff.h @@ -78,6 +78,7 @@ return o; class DIR_TRAFF_RES { public: + typedef RESETABLE value_type; typedef RESETABLE ValueType; typedef std::vector ContainerType; typedef ContainerType::size_type IndexType; @@ -97,6 +98,7 @@ public: } const ValueType & operator[](IndexType idx) const { return traff[idx]; } ValueType & operator[](IndexType idx) { return traff[idx]; } + IndexType size() const { return traff.size(); } DIR_TRAFF GetData() const { DIR_TRAFF res;