X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Ferror.h;fp=source%2Fcore%2Ferror.h;h=a8ad2939daa72bb5021719fa1da126a0b151efba;hp=c311bcdc4316e71053530f32b8e678cf5cbd43e8;hb=fe77fc6b869a71bf94d501a0762579f4ddbc5094;hpb=7292f4413397b7f2e4689f7597f4b9e73435352e diff --git a/source/core/error.h b/source/core/error.h index c311bcd..a8ad293 100644 --- a/source/core/error.h +++ b/source/core/error.h @@ -1,5 +1,5 @@ /* -This file is part of libmspframework +This file is part of libmspcore Copyright © 2006 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ @@ -13,7 +13,7 @@ namespace Msp { class UsageError: public Msp::Exception { public: - UsageError(bool b=true): Exception(""), brief(b) { } + UsageError(const std::string &r, bool b=true): Exception(r), brief(b) { } bool get_brief() const { return brief; } private: bool brief;