X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/afcbfd1a09e22ff4839ba5db42047c96f355506c..d8845c7819caac09b95c4cdf1e8d48cc1cb1b7a6:/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;