提交 e7899c66 编写于 作者: D Dmitri Smirnov 提交者: Igor Canadi

Fix build issue. (#1103)

上级 0f428c56
......@@ -15,6 +15,8 @@
#include "rocksdb/options.h"
#include "rocksdb/table.h"
#include "port/port.h" // noexcept
namespace rocksdb {
class Block;
......@@ -193,7 +195,7 @@ struct BlockContents {
compression_type(_compression_type),
allocation(std::move(_data)) {}
BlockContents(BlockContents&& other) noexcept { *this = std::move(other); }
BlockContents(BlockContents&& other) ROCKSDB_NOEXCEPT { *this = std::move(other); }
BlockContents& operator=(BlockContents&& other) {
data = std::move(other.data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册