From b46ec4efea992acf6a9074dc8f916cbea7eae27c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 25 Jan 2022 12:16:06 -0500 Subject: shader_recompiler: Remove unnecessary [[nodiscard]] Since ConvertLegacyToGeneric has a void return value, there's nothing that is actually returned by the function. --- src/shader_recompiler/frontend/maxwell/translate_program.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/shader_recompiler/frontend') diff --git a/src/shader_recompiler/frontend/maxwell/translate_program.h b/src/shader_recompiler/frontend/maxwell/translate_program.h index cd535f20d..eac83da9d 100644 --- a/src/shader_recompiler/frontend/maxwell/translate_program.h +++ b/src/shader_recompiler/frontend/maxwell/translate_program.h @@ -21,7 +21,6 @@ namespace Shader::Maxwell { [[nodiscard]] IR::Program MergeDualVertexPrograms(IR::Program& vertex_a, IR::Program& vertex_b, Environment& env_vertex_b); -[[nodiscard]] void ConvertLegacyToGeneric(IR::Program& program, - const Shader::RuntimeInfo& runtime_info); +void ConvertLegacyToGeneric(IR::Program& program, const RuntimeInfo& runtime_info); } // namespace Shader::Maxwell -- cgit v1.2.3