mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
zero: Added support for initializing bool
This commit is contained in:
@ -54,6 +54,12 @@ public:
|
||||
zero()
|
||||
{}
|
||||
|
||||
//- Return 0 for bool
|
||||
inline operator bool() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
//- Return 0 for label
|
||||
inline operator label() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user