From beaf4e3e3fdadfe710c143299a611ada30b7b547 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sun, 3 Jun 2018 09:43:02 -0400 Subject: Fixed compilation failures with MSVC 2015. Thanks to Neil. --- src/PositionCache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PositionCache.h') diff --git a/src/PositionCache.h b/src/PositionCache.h index bc70b7f4e..8aaead094 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -145,8 +145,8 @@ public: PositionCacheEntry(); // Copy constructor not currently used, but needed for being element in std::vector. PositionCacheEntry(const PositionCacheEntry &); - // Deleted so PositionCacheEntry objects can not be assigned. - PositionCacheEntry(PositionCacheEntry &&) = delete; + // PositionCacheEntry objects should not be moved but MSVC 2015 requires this. + PositionCacheEntry(PositionCacheEntry &&) = default; void operator=(const PositionCacheEntry &) = delete; void operator=(PositionCacheEntry &&) = delete; ~PositionCacheEntry(); -- cgit v1.2.3