[Mesa-dev] [PATCH 04/11] glsl: Switch ast_type_qualifier to the non-zeroing allocator.
Francisco Jerez
currojerez at riseup.net
Fri Sep 20 21:51:42 PDT 2013
All member variables of ast_type_qualifier are already being
initialized from its implicitly defined constructor, it's not
necessary to use rzalloc to allocate its memory.
---
src/glsl/ast.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/glsl/ast.h b/src/glsl/ast.h
index f278fe5..bc28375 100644
--- a/src/glsl/ast.h
+++ b/src/glsl/ast.h
@@ -346,7 +346,7 @@ enum {
};
struct ast_type_qualifier {
- DECLARE_RZALLOC_CXX_OPERATORS(ast_type_qualifier);
+ DECLARE_RALLOC_CXX_OPERATORS(ast_type_qualifier);
union {
struct {
--
1.8.3.4
More information about the mesa-dev
mailing list