mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Add namespace qualifier to WarningIn, FatalErrorIn, etc. macros.
- Previously had just 'Warning' instead of '::Foam::Warning', which meant that an identically named class method would inadvertently be used - resulting in a compile failure.
This commit is contained in:
@ -36,10 +36,6 @@ Description
|
||||
#include "error.H"
|
||||
#include "wchar.H"
|
||||
|
||||
// avoid confusion about which Warning is meant
|
||||
#undef WarningIn
|
||||
#define WarningIn(fn) Foam::Warning(fn, __FILE__, __LINE__)
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
namespace Foam
|
||||
|
||||
@ -66,7 +66,7 @@ class calcEntry
|
||||
public:
|
||||
|
||||
//- Runtime type information
|
||||
ClassName("test");
|
||||
ClassName("calc");
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
Reference in New Issue
Block a user