From 477b6ea5786cc3360008dd304841ad45d5d64551 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Wed, 14 Dec 2016 17:05:57 -0800 Subject: [PATCH] std::remove_if requires Summary: fixes error (that occurred on gcc-7): error: util/env_basic_test.cc: In member function 'virtual rocksdb::Status rocksdb::NormalizingEnvWrapper::GetChildren(const string&, std::vector >*)': util/env_basic_test.cc:27:21: error: 'remove_if' is not a member of 'std' result->erase(std::remove_if(result->begin(), result->end(), ^~~ Closes https://github.com/facebook/rocksdb/pull/1674 Differential Revision: D4331221 Pulled By: ajkr fbshipit-source-id: 9bbdc78 --- util/env_basic_test.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/util/env_basic_test.cc b/util/env_basic_test.cc index 361682166..965fb7557 100644 --- a/util/env_basic_test.cc +++ b/util/env_basic_test.cc @@ -5,6 +5,7 @@ #include #include #include +#include #include "rocksdb/env.h" #include "rocksdb/utilities/env_registry.h"