remove a bunch of <functional> includes
This forces us to use an explicit hash class in a few place, but it is cleaner. remove utils::lower_bound and utils::upper_bound, which were not used.
This commit is contained in:
committed by
Mathias Agopian
parent
991fa0cf7d
commit
718e7ab064
@@ -364,7 +364,7 @@ uint32_t getMipmapCount(const LinearImage& source) {
|
||||
Filter filterFromString(const char* rawname) {
|
||||
using namespace utils;
|
||||
using std::unordered_map;
|
||||
static const unordered_map<StaticString, Filter> map = {
|
||||
static const unordered_map<StaticString, Filter, StaticString::Hasher> map = {
|
||||
{ "BOX", Filter::BOX},
|
||||
{ "NEAREST", Filter::NEAREST},
|
||||
{ "HERMITE", Filter::HERMITE},
|
||||
|
||||
Reference in New Issue
Block a user