mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:24:13 +08:00
mdbx++: remove extra noexcept
for buffer::&assign_reference()
.
This commit is contained in:
parent
c18bf4f898
commit
55d1f5e9c0
2
mdbx.h++
2
mdbx.h++
@ -1785,7 +1785,7 @@ public:
|
|||||||
/// \brief Reserves space after the payload.
|
/// \brief Reserves space after the payload.
|
||||||
void reserve_tailroom(size_t wanna_tailroom) { reserve(0, wanna_tailroom); }
|
void reserve_tailroom(size_t wanna_tailroom) { reserve(0, wanna_tailroom); }
|
||||||
|
|
||||||
buffer &assign_reference(const void *ptr, size_t bytes) noexcept {
|
buffer &assign_reference(const void *ptr, size_t bytes) {
|
||||||
silo_.clear();
|
silo_.clear();
|
||||||
slice_.assign(ptr, bytes);
|
slice_.assign(ptr, bytes);
|
||||||
return *this;
|
return *this;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user