]> git.stg.codes - stg.git/blobdiff - include/stg/user_traff.h
Removed some conflicting macros.
[stg.git] / include / stg / user_traff.h
index 41c6c23fe63814c37c1da51a9a49a43ddbd1ccde..4d5efe6251c42bf7be5239a7da552b585e616b78 100644 (file)
@@ -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();