summaryrefslogtreecommitdiff
path: root/src/video_core/shader/ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/shader/ast.cpp')
-rw-r--r--src/video_core/shader/ast.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/shader/ast.cpp b/src/video_core/shader/ast.cpp
index 2627c563c..f2ab0cc00 100644
--- a/src/video_core/shader/ast.cpp
+++ b/src/video_core/shader/ast.cpp
@@ -350,11 +350,9 @@ private:
350 std::string tabs_memo{}; 350 std::string tabs_memo{};
351 u32 memo_scope{}; 351 u32 memo_scope{};
352 352
353 static std::string tabs; 353 static constexpr std::string_view tabs{" "};
354}; 354};
355 355
356std::string ASTPrinter::tabs = " ";
357
358std::string ASTManager::Print() { 356std::string ASTManager::Print() {
359 ASTPrinter printer{}; 357 ASTPrinter printer{};
360 printer.Visit(main_node); 358 printer.Visit(main_node);