From ec03b29b4929b6023d1c290dfe0a4471ea048564 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 29 Jan 2010 07:56:12 +0000 Subject: Fix return of reference to a temporary. Bump version to 0.6.1 (library interface version 4,0,0). git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2394 a436a847-0d15-0410-975c-d299462d15a1 --- raul/log.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'raul/log.hpp') diff --git a/raul/log.hpp b/raul/log.hpp index 17d728f..a2298f1 100644 --- a/raul/log.hpp +++ b/raul/log.hpp @@ -44,10 +44,10 @@ public: {} /** Change the colour of the output, e.g. out << colour(RED) << "red" << endl; */ - const char* colour(Colour c); + std::string colour(Colour c); /** Reset the colour of the output, e.g. out << plain() << "plain" << endl; */ - const char* plain(); + std::string plain(); protected: int_type overflow(int_type c) { -- cgit v1.2.1