From 222f4b45ebd545375b7befb84cfff81ae024e691 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 17 Oct 2019 20:56:36 -0400 Subject: video_core/shader/ast: Make ASTManager::Print a const member function Given all visiting functions never modify the nodes, we can trivially make this a const member function. --- src/video_core/shader/ast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/shader/ast.h') diff --git a/src/video_core/shader/ast.h b/src/video_core/shader/ast.h index d7bf11821..8183ffa3f 100644 --- a/src/video_core/shader/ast.h +++ b/src/video_core/shader/ast.h @@ -328,7 +328,7 @@ public: void InsertReturn(Expr condition, bool kills); - std::string Print(); + std::string Print() const; void Decompile(); -- cgit v1.2.3