Better message
parent
8a54e19811
commit
e8c9b8c1d7
|
@ -67,7 +67,7 @@ private:
|
||||||
const std::string what_;
|
const std::string what_;
|
||||||
public:
|
public:
|
||||||
DependencyMissing(const std::string& dep, const std::string& loc) :
|
DependencyMissing(const std::string& dep, const std::string& loc) :
|
||||||
what_("Missing dependency " + dep + " in " + loc) {}
|
what_("Missing dependency '" + dep + "' in " + loc) {}
|
||||||
~DependencyMissing() throw() {}
|
~DependencyMissing() throw() {}
|
||||||
virtual const char* what() const throw() { return what_.c_str(); }
|
virtual const char* what() const throw() { return what_.c_str(); }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue