]> 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 73976904aee60d09b5b5c51cb3980e7dac90c692..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 &);