summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar bunnei2019-10-15 16:41:52 -0400
committerGravatar GitHub2019-10-15 16:41:52 -0400
commitba0086e32dcbf11232fa2ae0864c28a991a56432 (patch)
tree1966d00f489790ec77e3d55e0b40d9e047272411 /src/common
parentMerge pull request #2965 from FernandoS27/fair-core-timing (diff)
parentcommon/algorithm: Add description comment indicating intended algorithms (diff)
downloadyuzu-ba0086e32dcbf11232fa2ae0864c28a991a56432.tar.gz
yuzu-ba0086e32dcbf11232fa2ae0864c28a991a56432.tar.xz
yuzu-ba0086e32dcbf11232fa2ae0864c28a991a56432.zip
Merge pull request #2977 from lioncash/algorithm
common: Rename binary_find.h to algorithm.h
Diffstat (limited to 'src/common')
-rw-r--r--src/common/CMakeLists.txt2
-rw-r--r--src/common/algorithm.h (renamed from src/common/binary_find.h)6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 906c486fd..5b51fcafa 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -95,11 +95,11 @@ add_custom_command(OUTPUT scm_rev.cpp
95) 95)
96 96
97add_library(common STATIC 97add_library(common STATIC
98 algorithm.h
98 alignment.h 99 alignment.h
99 assert.h 100 assert.h
100 detached_tasks.cpp 101 detached_tasks.cpp
101 detached_tasks.h 102 detached_tasks.h
102 binary_find.h
103 bit_field.h 103 bit_field.h
104 bit_util.h 104 bit_util.h
105 cityhash.cpp 105 cityhash.cpp
diff --git a/src/common/binary_find.h b/src/common/algorithm.h
index 5cc523bf9..e21b1373c 100644
--- a/src/common/binary_find.h
+++ b/src/common/algorithm.h
@@ -5,6 +5,12 @@
5#pragma once 5#pragma once
6 6
7#include <algorithm> 7#include <algorithm>
8#include <functional>
9
10// Algorithms that operate on iterators, much like the <algorithm> header.
11//
12// Note: If the algorithm is not general-purpose and/or doesn't operate on iterators,
13// it should probably not be placed within this header.
8 14
9namespace Common { 15namespace Common {
10 16