Răsfoiți Sursa

maxwell_3d: Make constructor explicit

Lioncash 8 ani în urmă
părinte
comite
490d0e36a0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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.