Fixed pointer type on MString operator=.
This commit is contained in:
1 parent
b44a00862b
commit
61d9f8015e
4 files changed
+2
-2
No files matched your search
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user