]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/debug.h
Don't return references from apply functions
[libs/gl.git] / source / glsl / debug.h
index 065e7f5dcb7751064253e491941b97c86e8278b9..da888198414f8a7d891a7884a5ddbedd45d7b4cd 100644 (file)
@@ -37,7 +37,7 @@ private:
        std::vector<TreeChars> tree;
 
 public:
-       const std::string &apply(Stage &);
+       std::string apply(Stage &);
 
 private:
        void append(const std::string &);
@@ -47,7 +47,6 @@ private:
        void begin_sub();
        void last_branch();
        void end_sub();
-       void annotated_branch(const std::string &, Node &);
        unsigned get_label(const Node &);
        std::string format_type(TypeDeclaration *);