]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/debug.h
Fix a name conflict in certain inlining scenarios
[libs/gl.git] / source / glsl / debug.h
index 73976904aee60d09b5b5c51cb3980e7dac90c692..c3e9c701075b87974a7e5101ad635bf0bf8e5d8b 100644 (file)
@@ -37,7 +37,8 @@ private:
        std::vector<TreeChars> tree;
 
 public:
-       const std::string &apply(Stage &);
+       std::string apply(Stage &);
+       std::string apply(Node &n) { n.visit(*this); return formatted; }
 
 private:
        void append(const std::string &);