Explorar o código

shader_recompiler: Remove unnecessary [[nodiscard]]

Since ConvertLegacyToGeneric has a void return value, there's nothing
that is actually returned by the function.
Lioncash %!s(int64=4) %!d(string=hai) anos
pai
achega
b46ec4efea
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/shader_recompiler/frontend/maxwell/translate_program.h

+ 1 - 2
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