msvc fixes

This commit is contained in:
Michael Krasnyk
2018-03-26 22:08:39 +02:00
parent 0c48f5fe2f
commit e572d6c340
2 changed files with 11 additions and 3 deletions
+3 -1
View File
@@ -322,7 +322,9 @@ template <typename GroupBlockPolicy, storage::Ownership Ownership> struct Indexe
auto to_bytes = [&](const auto &data) {
values_byte_iter = std::copy_n(&data, sizeof(ValueType), values_byte_iter);
};
std::copy(data + *curr, data + *next, boost::make_function_output_iterator(to_bytes));
std::copy(data + *curr,
data + *next,
boost::make_function_output_iterator(std::cref(to_bytes)));
}
}