Przeglądaj źródła

video_core/shader/ast: Make ExprPrinter members private

This member already has an accessor, so there's no need for it to be
public.
Lioncash 6 lat temu
rodzic
commit
7831e86c34
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/video_core/shader/ast.cpp

+ 2 - 1
src/video_core/shader/ast.cpp

@@ -232,7 +232,8 @@ public:
         return inner;
     }
 
-    std::string inner{};
+private:
+    std::string inner;
 };
 
 class ASTPrinter {