summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-17 16:35:16 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-26 21:38:30 +0200
commitbe856a38d6b0c7c90c861baf3204ac48a108f3d2 (patch)
treefeef5da87a406bc2e83326adbbf59a54772a34d2 /src/common
parentShader_IR: Clang format (diff)
downloadyuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar
yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.gz
yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.bz2
yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.lz
yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.xz
yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.tar.zst
yuzu-be856a38d6b0c7c90c861baf3204ac48a108f3d2.zip
Diffstat (limited to '')
-rw-r--r--src/common/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/hash.h b/src/common/hash.h
index c939709bc..ebd4125e2 100644
--- a/src/common/hash.h
+++ b/src/common/hash.h
@@ -72,7 +72,7 @@ struct HashableStruct {
struct PairHash {
template <class T1, class T2>
- std::size_t operator()(const std::pair<T1, T2>& pair) const {
+ std::size_t operator()(const std::pair<T1, T2>& pair) const noexcept {
std::size_t seed = std::hash<T1>()(pair.first);
boost::hash_combine(seed, std::hash<T2>()(pair.second));
return seed;