Fixed pointer type on MString operator=.

This commit is contained in:
Brad Arant committed 2023-10-07 18:15:17 -07:00
1 parent b44a00862b
commit 61d9f8015e
4 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ namespace coreutils {
free(data);
}
MString &MString::operator=(coreutils::MString &value) {
MString &MString::operator=(coreutils::MString value) {
setSize(value.getLength());
memcpy(data, value.getData(), value.getLength());
length = value.getLength();