Don't declare move constructors for Iterator unless c++11
This commit is contained in:
@@ -101,8 +101,10 @@ struct __attribute__((__visibility__("default"))) VersionedMap {
|
|||||||
~Iterator();
|
~Iterator();
|
||||||
Iterator(const Iterator &);
|
Iterator(const Iterator &);
|
||||||
Iterator &operator=(const Iterator &);
|
Iterator &operator=(const Iterator &);
|
||||||
|
#if __cplusplus > 199711L
|
||||||
Iterator(Iterator &&) noexcept;
|
Iterator(Iterator &&) noexcept;
|
||||||
Iterator &operator=(Iterator &&) noexcept;
|
Iterator &operator=(Iterator &&) noexcept;
|
||||||
|
#endif
|
||||||
|
|
||||||
struct VersionedMutation {
|
struct VersionedMutation {
|
||||||
/** param1 is guaranteed to have an addressable null byte at
|
/** param1 is guaranteed to have an addressable null byte at
|
||||||
|
Reference in New Issue
Block a user