diff options
author | Thomas Helland <thomashelland90@gmail.com> | 2014-06-10 00:57:37 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-06-10 13:05:51 -0700 |
commit | 4f5445a45d3ed02e00a061b10c943c0b079c6020 (patch) | |
tree | 005735f5d22b17eb17c856f6681fe4ca07d3e0bc /src/glsl/glsl_symbol_table.h | |
parent | 38ffbf459bc7e546c1dd7869b8d365ff26692b85 (diff) | |
download | external_mesa3d-4f5445a45d3ed02e00a061b10c943c0b079c6020.zip external_mesa3d-4f5445a45d3ed02e00a061b10c943c0b079c6020.tar.gz external_mesa3d-4f5445a45d3ed02e00a061b10c943c0b079c6020.tar.bz2 |
glsl: Remove unused include from glsl_symbol_table.h
Only function-defs use glsl_type so forward declare instead.
Compile-tested on my Ivy-bridge system.
IWYU also suggests removing #include <new>, and this compiles fine.
I'm not familiar enough with memory management in C/C++ that I feel
comfortable removing this. Insights would be appreciated.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Thomas Helland <thomashelland90@gmail.com>
Diffstat (limited to 'src/glsl/glsl_symbol_table.h')
-rw-r--r-- | src/glsl/glsl_symbol_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_symbol_table.h b/src/glsl/glsl_symbol_table.h index f323fc3..39b84e4 100644 --- a/src/glsl/glsl_symbol_table.h +++ b/src/glsl/glsl_symbol_table.h @@ -32,9 +32,9 @@ extern "C" { #include "program/symbol_table.h" } #include "ir.h" -#include "glsl_types.h" class symbol_table_entry; +class glsl_type; /** * Facade class for _mesa_symbol_table |