functionObjects::writeObjects: Corrected namespace for the definition of the NamedEnum

Resolves compilation failure with clang
This commit is contained in:
Henry Weller
2016-08-18 10:36:04 +01:00
parent 7a674dbc07
commit e8675e7088

View File

@ -42,6 +42,8 @@ namespace functionObjects
writeObjects,
dictionary
);
}
}
template<>
const char* Foam::NamedEnum
@ -54,11 +56,12 @@ namespace functionObjects
"noWrite",
"anyWrite"
};
}
}
const Foam::NamedEnum<Foam::functionObjects::writeObjects::writeOption, 3>
Foam::functionObjects::writeObjects::writeOptionNames_;
const Foam::NamedEnum
<
Foam::functionObjects::writeObjects::writeOption,
3
> Foam::functionObjects::writeObjects::writeOptionNames_;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //