]> git.tdb.fi Git - libs/datafile.git/commit
Make move constructors explicitly declared for MSVC's benefit
authorMikko Rasa <tdb@tdb.fi>
Tue, 26 Dec 2023 23:36:29 +0000 (01:36 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 27 Dec 2023 22:07:20 +0000 (00:07 +0200)
commitf7fc0378fccf172c9791f69b7e14d915b6f4d05b
tree142b8e28eaa4c3713a59ee383e3a75f0f70ff134
parentc52c914c331d1f772f9d47cbb9b217870f94e66f
Make move constructors explicitly declared for MSVC's benefit

When exporting classes it wants to export all the special members, even
if some of them are invalid due to the types of data members.  A user-
declared move constructor disables the implicit copy constructor so
things will work correctly.
source/collection.h
source/packsource.h