common: Rename binary_find.h to algorithm.h

Makes the header more general for other potential algorithms in the
future. While we're at it, include a missing <functional> include to
satisfy the use of std::less.
This commit is contained in:
Lioncash 2019-10-15 14:47:42 -04:00
parent cab2619aeb
commit ac4dbd3b25
4 changed files with 5 additions and 4 deletions

View file

@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "common/algorithm.h"
#include "common/assert.h"
#include "common/common_types.h"
#include "common/microprofile.h"

View file

@ -4,12 +4,11 @@
#pragma once
#include <algorithm>
#include <optional>
#include <tuple>
#include <unordered_map>
#include <vector>
#include "common/assert.h"
#include "common/binary_find.h"
#include "common/common_types.h"
#include "video_core/gpu.h"
#include "video_core/morton.h"