stage1_2/create_enumtype_conversion_functions.hh
changeset 756 634f476cb60f
parent 748 ad4265253528
child 958 7474d2cd1d6e
--- a/stage1_2/create_enumtype_conversion_functions.hh	Mon Nov 26 16:38:15 2012 +0000
+++ b/stage1_2/create_enumtype_conversion_functions.hh	Tue Nov 27 14:49:08 2012 +0000
@@ -47,12 +47,13 @@
 
 
 class create_enumtype_conversion_functions_c: public iterator_visitor_c {
+  private:
+    static create_enumtype_conversion_functions_c *singleton;
+    
   public:
     explicit create_enumtype_conversion_functions_c(symbol_c *ignore);
     virtual ~create_enumtype_conversion_functions_c(void);
-    std::string &get_declaration(symbol_c *root);
-
-    const static char *functionDataType [];
+    static std::string &get_declaration(symbol_c *symbol);
 
     void *visit(identifier_c *symbol);
     /**********************/