mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
glsl: Fix clang mismatched-tags warnings with glsl_type.
Fix clang mismatched-tags warnings introduced with commit
4f5445a45d.
./glsl_symbol_table.h:37:1: warning: class 'glsl_type' was previously declared as a struct [-Wmismatched-tags]
class glsl_type;
^
./glsl_types.h:86:8: note: previous use is here
struct glsl_type {
^
./glsl_symbol_table.h:37:1: note: did you mean struct here?
class glsl_type;
^~~~~
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
32c5544860
commit
4133c7126c
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ extern "C" {
|
|||
#include "ir.h"
|
||||
|
||||
class symbol_table_entry;
|
||||
class glsl_type;
|
||||
struct glsl_type;
|
||||
|
||||
/**
|
||||
* Facade class for _mesa_symbol_table
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue