X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9c29aeaca5bdd90922c3192fd5e28530af28aba7..fc06430b05b154e0e859c6a436c1ffd74576a189:/include/stg/user_traff.h diff --git a/include/stg/user_traff.h b/include/stg/user_traff.h index 41c6c23f..4d5efe62 100644 --- a/include/stg/user_traff.h +++ b/include/stg/user_traff.h @@ -88,7 +88,7 @@ public: ValueType & operator[](IndexType idx) { return traff[idx]; } DIR_TRAFF GetData() const { - DIR_TRAFF res(traff.size()); + DIR_TRAFF res; for (IndexType i = 0; i < traff.size(); ++i) if (!traff[i].empty()) res[i] = traff[i].data();