]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
fix backward propagateSideEffect impl
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 04f8c0eaa5ec76f81327cc00214ada72d585d6ed..b305dac393f82001e018cc2a0d53d7c64394ffc4 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -110,7 +110,7 @@ struct ast_node
     bool             m_keep_node;
     bool             m_side_effects;
 
-    void propagateSideEffects(ast_node *other) const;
+    void propagateSideEffects(const ast_node *other);
 };
 
 #define ast_unref(x) do        \