Added save() to constructors of CanteraError() so that
the error will register within the application class.
This commit is contained in:
parent
80b723cfe7
commit
95700d9641
1 changed files with 4 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue