Added save() to constructors of CanteraError() so that

the error will register within the application class.
This commit is contained in:
Harry Moffat 2012-03-30 01:13:42 +00:00
parent 80b723cfe7
commit 95700d9641

View file

@ -18,12 +18,16 @@ CanteraError::CanteraError(std::string procedure, std::string msg) :
msg_(msg),
saved_(false)
{
// Save the error in the global list of errors so that showError() can work
save();
}
CanteraError::CanteraError(std::string procedure) :
procedure_(procedure),
saved_(false)
{
// Save the error in the global list of errors so that showError() can work
save();
}
void CanteraError::save()