ENH: work-around compiler bug for lookupOrDefault

This commit is contained in:
andy
2010-10-21 16:30:40 +01:00
parent bca797421b
commit d42852a1a0

View File

@ -124,8 +124,7 @@ Foam::PatchInteractionModel<CloudType>::PatchInteractionModel
) )
: :
SubModelBase<CloudType>(owner, dict, type), SubModelBase<CloudType>(owner, dict, type),
// UName_(this->coeffDict().lookupOrDefault<word>("UName", "U")) UName_(this->coeffDict().lookupOrDefault("UName", word("U")))
UName_(this->coeffDict().lookup("UName"))
{} {}