diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-05 14:45:28 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-05 15:14:26 +0200 |
commit | 5a0a9c7449f4f264fae8619d3881c6c0e09865ef (patch) | |
tree | 8b29ca703d4a4edfd4047cb08f40ffac3d1b8bb6 /src/video_core/shader/ast.cpp | |
parent | video_core/ast: Default the move constructor and assignment operator (diff) | |
download | yuzu-5a0a9c7449f4f264fae8619d3881c6c0e09865ef.tar yuzu-5a0a9c7449f4f264fae8619d3881c6c0e09865ef.tar.gz yuzu-5a0a9c7449f4f264fae8619d3881c6c0e09865ef.tar.bz2 yuzu-5a0a9c7449f4f264fae8619d3881c6c0e09865ef.tar.lz yuzu-5a0a9c7449f4f264fae8619d3881c6c0e09865ef.tar.xz yuzu-5a0a9c7449f4f264fae8619d3881c6c0e09865ef.tar.zst yuzu-5a0a9c7449f4f264fae8619d3881c6c0e09865ef.zip |
Diffstat (limited to 'src/video_core/shader/ast.cpp')
-rw-r--r-- | src/video_core/shader/ast.cpp | 4 |
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: std::string tabs_memo{}; u32 memo_scope{}; - static std::string tabs; + static constexpr std::string_view tabs{" "}; }; -std::string ASTPrinter::tabs = " "; - std::string ASTManager::Print() { ASTPrinter printer{}; printer.Visit(main_node); |