From: Brian Paul Date: Sun, 4 Nov 2012 23:43:44 +0000 (-0700) Subject: st/mesa: change glsl_to_tgsi_visitor from class to struct X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75f2ccf3a217ad4a6bc05f67592a8606117ba13b;p=mesa.git st/mesa: change glsl_to_tgsi_visitor from class to struct To match the declaration in the .h file and silence an MSVC warning. Reviewed-by: Jose Fonseca --- diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 14b72dc8006..a70a08bf3b9 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -285,7 +285,7 @@ public: st_src_reg return_reg; }; -class glsl_to_tgsi_visitor : public ir_visitor { +struct glsl_to_tgsi_visitor : public ir_visitor { public: glsl_to_tgsi_visitor(); ~glsl_to_tgsi_visitor();