summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-07-12 18:35:20 -0700
committerIan Romanick <[email protected]>2010-07-12 18:51:55 -0700
commit11fc7beb2fa82179cfd9202449e1365b28f868a9 (patch)
treeadccbf42ac361f18ba50479ce82484f31c94d118 /src/glsl/ir.h
parent13f782c4ae4e38e64ec4fe87a1c24597a5e894c3 (diff)
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.h')
-rw-r--r--src/glsl/ir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h
index 25bf6c6d151..053b6fecd1d 100644
--- a/src/glsl/ir.h
+++ b/src/glsl/ir.h
@@ -379,7 +379,7 @@ public:
* Find a signature that matches a set of actual parameters, taking implicit
* conversions into account.
*/
- const ir_function_signature *matching_signature(exec_list *actual_param);
+ ir_function_signature *matching_signature(exec_list *actual_param);
/**
* Find a signature that exactly matches a set of actual parameters without