bsnes/nall - fix bug in serializer copy constructor
This commit is contained in:
parent
95a7062fad
commit
3cf7041e68
|
@ -122,7 +122,9 @@ namespace nall {
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
serializer(serializer &&s) {
|
serializer(serializer &&s)
|
||||||
|
: idata(nullptr) //zero 16-jun-2015 - was a bug not to have this. operator= chokes on uninitialized idata otherwise
|
||||||
|
{
|
||||||
operator=(std::move(s));
|
operator=(std::move(s));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue