mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 01:44:13 +08:00
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:
parent
b79f6712e3
commit
3db02d2236
6
mdbx.h++
6
mdbx.h++
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user