Browse Source

Merge pull request #189 from lioncash/misc

maxwell_3d: Make constructor explicit
bunnei 8 năm trước cách đây
mục cha
commit
f1b82634bc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/video_core/engines/maxwell_3d.h

+ 1 - 1
src/video_core/engines/maxwell_3d.h

@@ -14,7 +14,7 @@ namespace Engines {
 
 class Maxwell3D final {
 public:
-    Maxwell3D(MemoryManager& memory_manager);
+    explicit Maxwell3D(MemoryManager& memory_manager);
     ~Maxwell3D() = default;
 
     /// Write the value to the register identified by method.