aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/list.h')
-rw-r--r--mesalib/src/glsl/list.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mesalib/src/glsl/list.h b/mesalib/src/glsl/list.h
index 3197b03cf..9c39855ad 100644
--- a/mesalib/src/glsl/list.h
+++ b/mesalib/src/glsl/list.h
@@ -94,6 +94,10 @@ struct exec_node {
/* If the user *does* call delete, that's OK, we will just
* talloc_free in that case. */
+ static void operator delete(void *node, void *ctx)
+ {
+ talloc_free(node);
+ }
static void operator delete(void *node)
{
talloc_free(node);
@@ -303,6 +307,10 @@ struct exec_list {
/* If the user *does* call delete, that's OK, we will just
* talloc_free in that case. */
+ static void operator delete(void *node, void *ctx)
+ {
+ talloc_free(node);
+ }
static void operator delete(void *node)
{
talloc_free(node);