diff --git a/src/SerializedTypes.cpp b/src/SerializedTypes.cpp index 276b13464d..6b7d9e52b2 100644 --- a/src/SerializedTypes.cpp +++ b/src/SerializedTypes.cpp @@ -147,7 +147,7 @@ std::string STVariableLength::getText() const STVariableLength* STVariableLength::construct(SerializerIterator& u, const char *name) { - return new STVariableLength(u.getVL()); + return new STVariableLength(name, u.getVL()); } int STVariableLength::getLength() const