diff options
author | David Robillard <d@drobilla.net> | 2010-01-29 07:56:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-01-29 07:56:12 +0000 |
commit | ec03b29b4929b6023d1c290dfe0a4471ea048564 (patch) | |
tree | c1a21f1bb582a41da971dbef10a662852a1f0d1b /raul/log.hpp | |
parent | 918be9ff38a6c7a3cba07891491e61249ec237b5 (diff) | |
download | raul-ec03b29b4929b6023d1c290dfe0a4471ea048564.tar.gz raul-ec03b29b4929b6023d1c290dfe0a4471ea048564.tar.bz2 raul-ec03b29b4929b6023d1c290dfe0a4471ea048564.zip |
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
Diffstat (limited to 'raul/log.hpp')
-rw-r--r-- | raul/log.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |