[unit-tests/bloom_filter_t.cc] Fix ambigious uniform_int_distribution (C++11)

uniform_int_distribution exist in the namespace boost as well as in std
of C++11. Use the one provided by boost.

This fixes compilation bugs with CXXFLAGS=-std=gnu++11 together with
gcc 4.8.3 and boost 1.55.
This commit is contained in:
Alexander Holler 2014-11-15 15:42:58 +01:00
parent 691ad88261
commit b56aec4d96

View File

@ -40,7 +40,7 @@ namespace {
using namespace boost::random;
uniform_int_distribution<uint64_t> uniform_dist(0, max);
boost::random::uniform_int_distribution<uint64_t> uniform_dist(0, max);
while (r.size() < count) {
block_address b = uniform_dist(rng_);