Don't declare move constructors for Iterator unless c++11

This commit is contained in:
2024-06-03 13:44:38 -07:00
parent 9e90d5aadf
commit 509dab82e3

View File

@@ -101,8 +101,10 @@ struct __attribute__((__visibility__("default"))) VersionedMap {
~Iterator();
Iterator(const Iterator &);
Iterator &operator=(const Iterator &);
#if __cplusplus > 199711L
Iterator(Iterator &&) noexcept;
Iterator &operator=(Iterator &&) noexcept;
#endif
struct VersionedMutation {
/** param1 is guaranteed to have an addressable null byte at