Skip to content

Commit

Permalink
Fix second VectorReader constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Evghenii authored and coelckers committed Nov 29, 2023
1 parent 26c8890 commit 5ce525e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/zmusic/fileio.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ struct VectorReader : public MemoryReader
{
mVector.resize(size);
memcpy(mVector.data(), data, size);
mData = mVector.data();
mLength = (long)size;
mPos = 0;
}
};

Expand Down

0 comments on commit 5ce525e

Please sign in to comment.