Fix build issue. (#1103)

This commit is contained in:
Dmitri Smirnov 2016-04-28 11:39:12 -07:00 committed by Igor Canadi
parent 0f428c5619
commit e7899c6618

View File

@ -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);