Explorar o código

maxwell_3d: Make constructor explicit

Lioncash %!s(int64=8) %!d(string=hai) anos
pai
achega
490d0e36a0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.