From 51eb91f27257181028beee5f20deda5ed1b179db Mon Sep 17 00:00:00 2001 From: Dejan Mircevski Date: Tue, 12 Apr 2016 12:07:27 -0400 Subject: [PATCH] Make two more IncludeResult members const. --- glslang/Public/ShaderLang.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glslang/Public/ShaderLang.h b/glslang/Public/ShaderLang.h index c9182618..5ab602bd 100644 --- a/glslang/Public/ShaderLang.h +++ b/glslang/Public/ShaderLang.h @@ -320,13 +320,13 @@ public: // include. For example, in a filesystem-based includer, full resolution // should convert a relative path name into an absolute path name. // For a failed inclusion, this is an empty string. - std::string file_name; + const std::string file_name; // The content and byte length of the requested inclusion. The // Includer producing this IncludeResult retains ownership of the // storage. // For a failed inclusion, the file_data // field points to a string containing error details. - const char* file_data; + const char* const file_data; const size_t file_length; // Include resolver's context. void* user_data;