diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-07-12 18:35:20 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-07-12 18:51:55 -0700 |
commit | 11fc7beb2fa82179cfd9202449e1365b28f868a9 (patch) | |
tree | adccbf42ac361f18ba50479ce82484f31c94d118 /src/glsl/ir_function.cpp | |
parent | 13f782c4ae4e38e64ec4fe87a1c24597a5e894c3 (diff) | |
download | external_mesa3d-11fc7beb2fa82179cfd9202449e1365b28f868a9.zip external_mesa3d-11fc7beb2fa82179cfd9202449e1365b28f868a9.tar.gz external_mesa3d-11fc7beb2fa82179cfd9202449e1365b28f868a9.tar.bz2 |
ir_function: Make matching_signature not return const
The linker needs to use this function to get specific function signatures, but
it also needs to modify the returned signature. Since this method isn't itself
const (i.e., const this pointer), there is no value in making a const and
non-const version.
Diffstat (limited to 'src/glsl/ir_function.cpp')
-rw-r--r-- | src/glsl/ir_function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir_function.cpp b/src/glsl/ir_function.cpp index 5db93f6..fcdb83b 100644 --- a/src/glsl/ir_function.cpp +++ b/src/glsl/ir_function.cpp @@ -155,7 +155,7 @@ parameter_lists_match(exec_list *list_a, exec_list *list_b) } -const ir_function_signature * +ir_function_signature * ir_function::matching_signature(exec_list *actual_parameters) { ir_function_signature *match = NULL; |