VERY experimental Nintendo Switch 2 emulator
C++
common: Rename binary_find.h to algorithm.h
Lioncashb5202d5da228
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txtindex 906c486fda..5b51fcafa9 100644--- a/src/common/CMakeLists.txt+++ b/src/common/CMakeLists.txt@@ -95,11 +95,11 @@ add_custom_command(OUTPUT scm_rev.cpp)add_library(common STATIC+ algorithm.halignment.hassert.hdetached_tasks.cppdetached_tasks.h- binary_find.hbit_field.hbit_util.hcityhash.cppdiff --git a/src/common/binary_find.h b/src/common/algorithm.hsimilarity index 96%rename from src/common/binary_find.hrename to src/common/algorithm.hindex 5cc523bf9c..18e7ece981 100644--- a/src/common/binary_find.h+++ b/src/common/algorithm.h@@ -5,6 +5,7 @@#pragma once#include <algorithm>+#include <functional>namespace Common {diff --git a/src/video_core/texture_cache/surface_base.cpp b/src/video_core/texture_cache/surface_base.cppindex 683c492072..829268b4ca 100644--- a/src/video_core/texture_cache/surface_base.cpp+++ b/src/video_core/texture_cache/surface_base.cpp@@ -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"diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.hindex 5e497e49f8..1bed828980 100644--- a/src/video_core/texture_cache/surface_base.h+++ b/src/video_core/texture_cache/surface_base.h@@ -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"