X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Foutput.h;h=1e59a445ebdd1f16eead08246ac98196b3a286ca;hp=ef9369876b46c00221ad6e33093c6e76153fee93;hb=2280a09a286bbff2eb41783f8023863f320a3736;hpb=dfcf8ebc329b79c369b88bdbeb982480aa5fc12a diff --git a/source/glsl/output.h b/source/glsl/output.h index ef936987..1e59a445 100644 --- a/source/glsl/output.h +++ b/source/glsl/output.h @@ -25,8 +25,8 @@ private: public: Formatter(); - const std::string &apply(Stage &); - const std::string &apply(Node &n) { n.visit(*this); return formatted; } + std::string apply(Stage &); + std::string apply(Node &n) { n.visit(*this); return formatted; } private: void append(const std::string &);