cruppstahl / upscaledb

A very fast lightweight embedded database engine with a built-in query language.
https://upscaledb.com
Apache License 2.0
568 stars 69 forks source link

Fix compile for MSVC2013 #133

Closed mjmckp closed 3 years ago

mjmckp commented 3 years ago

Fix compile for MSVC2013 by explicitly implementing move constructor and operator which previously caused the compile error:

3>d:\upscaledb-fork\src\2device\device_disk.h(61): error C2610: 'upscaledb::DiskDevice::State::State(upscaledb::DiskDevice::State &&)' : is not a special member function which can be defaulted 3>d:\upscaledb-fork\src\2device\device_disk.h(62): error C2610: 'upscaledb::DiskDevice::State &upscaledb::DiskDevice::State::operator =(upscaledb::DiskDevice::State &&)' : is not a special member function which can be defaulted

cruppstahl commented 3 years ago

Thanks!