Bugfix: overflow in conversion from Foam::label to int

This commit is contained in:
Danial Khazaei 2019-01-31 17:11:22 +03:30
parent 67e2f83134
commit 23ef4e1dc3
No known key found for this signature in database
GPG key ID: 0EF86F9BFB18F88C

View file

@ -50,7 +50,7 @@ namespace Foam
defineTypeNameAndDebug(hexRef8, 0); defineTypeNameAndDebug(hexRef8, 0);
//- Reduction class. If x and y are not equal assign value. //- Reduction class. If x and y are not equal assign value.
template< int value > template<label value>
class ifEqEqOp class ifEqEqOp
{ {
public: public: