Add some std namespaces to get tests building.

I guess a rogue header had previously been using the std namespace.
This commit is contained in:
Joe Thornber
2017-07-24 15:40:17 +01:00
parent 2c6278ed4b
commit 467be1a69e
4 changed files with 14 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ namespace persistent_data {
if (search_start_ >= ms->second)
continue;
for (block_address b = max(search_start_, ms->first); b < ms->second; b++) {
for (block_address b = std::max(search_start_, ms->first); b < ms->second; b++) {
if (b >= counts_.size())
throw std::runtime_error("block out of bounds");