Przeglądaj źródła

Merge pull request #189 from lioncash/misc

maxwell_3d: Make constructor explicit
bunnei 8 lat temu
rodzic
commit
f1b82634bc
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {
 class Maxwell3D final {
 public:
 public:
-    Maxwell3D(MemoryManager& memory_manager);
+    explicit Maxwell3D(MemoryManager& memory_manager);
     ~Maxwell3D() = default;
     ~Maxwell3D() = default;
 
 
     /// Write the value to the register identified by method.
     /// Write the value to the register identified by method.