Fixed test again.

This commit is contained in:
KimLS
2015-02-24 00:38:49 -08:00
parent 69612b44d4
commit c62cff1ce7
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -52,6 +52,10 @@ EQEmu::MemoryBuffer::MemoryBuffer(MemoryBuffer &&other) {
}
EQEmu::MemoryBuffer& EQEmu::MemoryBuffer::operator=(const MemoryBuffer &other) {
if(this == &other) {
return *this;
}
if(buffer_) {
delete[] buffer_;
}