mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: error write() method not marked as virtual (fixes #2218)
- slices on output and misses file/line information for IOerror
This commit is contained in:
@ -225,7 +225,7 @@ public:
|
||||
void abort();
|
||||
|
||||
//- Print error message
|
||||
void write(Ostream& os, const bool includeTitle = true) const;
|
||||
virtual void write(Ostream& os, const bool includeTitle = true) const;
|
||||
|
||||
|
||||
// Housekeeping
|
||||
@ -348,7 +348,7 @@ public:
|
||||
void abort();
|
||||
|
||||
//- Print error message
|
||||
void write(Ostream& os, const bool includeTitle = true) const;
|
||||
virtual void write(Ostream& os, const bool includeTitle = true) const;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user