From 074b38b7a918a52f9085490f0da44b6e0dc23639 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 17 Oct 2019 20:59:46 -0400 Subject: video_core/shader/ast: Make ShowCurrentState() and SanityCheck() const member functions These can also trivially be made const member functions, with the addition of a few consts. --- src/video_core/shader/ast.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 8183ffa3f..a2f0044ba 100644 --- a/src/video_core/shader/ast.h +++ b/src/video_core/shader/ast.h @@ -332,9 +332,9 @@ public: void Decompile(); - void ShowCurrentState(std::string_view state); + void ShowCurrentState(std::string_view state) const; - void SanityCheck(); + void SanityCheck() const; void Clear(); -- cgit v1.2.3