Branch "Prevent Incest" uses std::unordered_set to store collection of parents and grandparents in Individual. Compiler generated error:
Error C2280 'std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>::_Uset_traits(const std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false> &)': attempting to reference a deleted function SOS c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xhash 209
A search on the Internet returns that this is caused when the object which owns the unordered set is copied. Will need to rewrite code to not copy the Individual object.
Branch "Prevent Incest" uses std::unordered_set to store collection of parents and grandparents in Individual. Compiler generated error:
Error C2280 'std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>::_Uset_traits(const std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false> &)': attempting to reference a deleted function SOS c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xhash 209
A search on the Internet returns that this is caused when the object which owns the unordered set is copied. Will need to rewrite code to not copy the Individual object.