From 53f615df6acfd716945a040cd4a9e50d9c6c8783 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Tue, 13 Jan 2015 12:26:57 -0800 Subject: [PATCH] Fix clang build --- db/memtablerep_bench.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/db/memtablerep_bench.cc b/db/memtablerep_bench.cc index a24eca010..5bdfa836d 100644 --- a/db/memtablerep_bench.cc +++ b/db/memtablerep_bench.cc @@ -184,8 +184,9 @@ class KeyGenerator { for (uint64_t i = 0; i < num_; ++i) { values_[i] = i; } - std::shuffle(values_.begin(), values_.end(), - std::default_random_engine(FLAGS_seed)); + std::shuffle( + values_.begin(), values_.end(), + std::default_random_engine(static_cast(FLAGS_seed))); } }