]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
Use std::vector for static_names
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 647fd1b6b41ede7e4f4a67b7a632fa4ae6e72582..162704783ff7163d92c97c090db84d6f45cfc446 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -631,7 +631,7 @@ struct ast_function
     int builtin;
 
     /* list of used-up names for statics without the count suffix */
-    char **static_names;
+    std::vector<char*> static_names;
     /* number of static variables, by convention this includes the
      * ones without the count-suffix - remember this when dealing
      * with savegames. uint instead of size_t as %zu in printf is