فهرست منبع

video_core/engines/engine_upload: Remove unnecessary const on parameters in function declarations

These only apply in the definition of the function. They can be omitted
from the declaration.
Lioncash 7 سال پیش
والد
کامیت
ec1c69258a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/video_core/engines/engine_upload.h

+ 2 - 2
src/video_core/engines/engine_upload.h

@@ -57,8 +57,8 @@ public:
     State(MemoryManager& memory_manager, Registers& regs);
     State(MemoryManager& memory_manager, Registers& regs);
     ~State() = default;
     ~State() = default;
 
 
-    void ProcessExec(const bool is_linear);
-    void ProcessData(const u32 data, const bool is_last_call);
+    void ProcessExec(bool is_linear);
+    void ProcessData(u32 data, bool is_last_call);
 
 
 private:
 private:
     u32 write_offset = 0;
     u32 write_offset = 0;