From e7899c6618c42186763c26745ba34ea353375f1f Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Thu, 28 Apr 2016 11:39:12 -0700 Subject: [PATCH] Fix build issue. (#1103) --- table/format.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/table/format.h b/table/format.h index 8f89eee7c..d9846d529 100644 --- a/table/format.h +++ b/table/format.h @@ -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);