[GPU] Misc GCC build fixes

This commit is contained in:
Joel Linn
2021-05-05 17:02:45 +02:00
committed by Rick Gibbed
parent 5284075cf9
commit 6dfa36d1b8
5 changed files with 4 additions and 51 deletions

View File

@@ -230,8 +230,8 @@ class RenderTargetCache {
};
uint32_t key = 0;
struct Hasher {
size_t operator()(const RenderTargetKey& key) const {
return std::hash<uint32_t>{}(key.key);
size_t operator()(const RenderTargetKey& render_target_key) const {
return std::hash<uint32_t>{}(render_target_key.key);
}
};
bool operator==(const RenderTargetKey& other_key) const {