mdbx++: explicitly define noexcept copy-assignment ops as workaround for AppleClang > 13.3 bug.

Try workaround for https://github.com/erthink/libmdbx/issues/278
This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-03-23 18:06:28 +03:00
parent b79f6712e3
commit 3db02d2236

View File

@ -2998,6 +2998,8 @@ public:
MDBX_CXX11_CONSTEXPR reclaiming_options() noexcept {}
MDBX_CXX11_CONSTEXPR
reclaiming_options(const reclaiming_options &) noexcept = default;
MDBX_CXX14_CONSTEXPR reclaiming_options &
operator=(const reclaiming_options &) noexcept = default;
reclaiming_options(MDBX_env_flags_t) noexcept;
};
@ -3015,6 +3017,8 @@ public:
MDBX_CXX11_CONSTEXPR operate_options() noexcept {}
MDBX_CXX11_CONSTEXPR
operate_options(const operate_options &) noexcept = default;
MDBX_CXX14_CONSTEXPR operate_options &
operator=(const operate_options &) noexcept = default;
operate_options(MDBX_env_flags_t) noexcept;
};
@ -3043,6 +3047,8 @@ public:
durability(durability), reclaiming(reclaiming), options(options) {}
MDBX_CXX11_CONSTEXPR
operate_parameters(const operate_parameters &) noexcept = default;
MDBX_CXX14_CONSTEXPR operate_parameters &
operator=(const operate_parameters &) noexcept = default;
MDBX_env_flags_t
make_flags(bool accede = true, ///< \copydoc MDBX_ACCEDE
bool use_subdirectory =