X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/436fa7f75542e619096c6fad7f05029083743102..d1c864e3feaf4295d366e2ef497495738ce15337:/include/stg/user_traff.h diff --git a/include/stg/user_traff.h b/include/stg/user_traff.h index eec46276..8ef8e260 100644 --- a/include/stg/user_traff.h +++ b/include/stg/user_traff.h @@ -80,6 +80,7 @@ return o; class DIR_TRAFF_RES { public: + typedef RESETABLE value_type; typedef RESETABLE ValueType; typedef std::vector ContainerType; typedef ContainerType::size_type IndexType; @@ -93,6 +94,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;