Fix CYGWin release build
Summary: Change from one std::to_string() to ToString() for Cygwin build Test Plan: Build it under cygwin Reviewers: rven, anthony, IslamAbdelRahman, igor, kradhakrishnan Reviewed By: igor, kradhakrishnan Subscribers: leveldb, dhruba Differential Revision: https://reviews.facebook.net/D39657
This commit is contained in:
parent
f02ce0c651
commit
21f2492ac0
@ -10,6 +10,7 @@
|
||||
#include "rocksdb/db.h"
|
||||
#include "rocksdb/utilities/write_batch_with_index.h"
|
||||
#include "util/coding.h"
|
||||
#include "util/string_util.h"
|
||||
#include "utilities/write_batch_with_index/write_batch_with_index_internal.h"
|
||||
|
||||
namespace rocksdb {
|
||||
@ -187,7 +188,7 @@ WriteBatchWithIndexInternal::Result WriteBatchWithIndexInternal::GetFromBatch(
|
||||
default: {
|
||||
result = WriteBatchWithIndexInternal::Result::kError;
|
||||
(*s) = Status::Corruption("Unexpected entry in WriteBatchWithIndex:",
|
||||
std::to_string(entry.type));
|
||||
ToString(entry.type));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user