X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/fc06430b05b154e0e859c6a436c1ffd74576a189..85b2cf6a5286a94b5e35c7fc6b17bdf941f56420:/include/stg/user_traff.h diff --git a/include/stg/user_traff.h b/include/stg/user_traff.h index 4d5efe62..48843a49 100644 --- a/include/stg/user_traff.h +++ b/include/stg/user_traff.h @@ -73,6 +73,7 @@ return o; class DIR_TRAFF_RES { public: + typedef RESETABLE value_type; typedef RESETABLE ValueType; typedef std::vector ContainerType; typedef ContainerType::size_type IndexType; @@ -86,6 +87,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;