diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-15 18:25:45 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-15 18:25:48 -0400 |
commit | d1d7ce74d2e175d18c9eb385e202bca98cba08cd (patch) | |
tree | 35e8538c26a76ce8c15bfdef9954e0e6f56e7298 /src/common/file_util.cpp | |
parent | 67658dd6e84ca0ee04cdfd761aa1a7f5ac96cd42 (diff) |
gl_shader_decompiler: Use std::holds_alternative within GenerateTexture()
This only ever queries if the type exists within the variant, but
doesn't actually do anything with the return value. We can just use
std::holds_alternative for this use case.
Diffstat (limited to 'src/common/file_util.cpp')
0 files changed, 0 insertions, 0 deletions