Sfoglia il codice sorgente

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 anni fa
parent
commit
7831e86c34
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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 {