std::remove_if requires <algorithm>

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<std::__cxx11::basic_string<char> >*)':
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
This commit is contained in:
Daniel Black 2016-12-14 17:05:57 -08:00 committed by Facebook Github Bot
parent 83f9a6fd21
commit 477b6ea578

View File

@ -5,6 +5,7 @@
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include "rocksdb/env.h"
#include "rocksdb/utilities/env_registry.h"