Преглед на файлове

shader_recompiler: Remove unnecessary [[nodiscard]]

Since ConvertLegacyToGeneric has a void return value, there's nothing
that is actually returned by the function.
Lioncash преди 4 години
родител
ревизия
b46ec4efea
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  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,
 [[nodiscard]] IR::Program MergeDualVertexPrograms(IR::Program& vertex_a, IR::Program& vertex_b,
                                                   Environment& env_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
 } // namespace Shader::Maxwell