소스 검색

Merge pull request #189 from lioncash/misc

maxwell_3d: Make constructor explicit
bunnei 8 년 전
부모
커밋
f1b82634bc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.