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 4a766d28cb
commit ab7dcca8a6

View File

@ -42,23 +42,26 @@ namespace functionObjects
writeObjects, writeObjects,
dictionary dictionary
); );
}
}
template<> template<>
const char* Foam::NamedEnum const char* Foam::NamedEnum
< <
Foam::functionObjects::writeObjects::writeOption, Foam::functionObjects::writeObjects::writeOption,
3 3
>::names[] = >::names[] =
{ {
"autoWrite", "autoWrite",
"noWrite", "noWrite",
"anyWrite" "anyWrite"
}; };
}
}
const Foam::NamedEnum<Foam::functionObjects::writeObjects::writeOption, 3> const Foam::NamedEnum
Foam::functionObjects::writeObjects::writeOptionNames_; <
Foam::functionObjects::writeObjects::writeOption,
3
> Foam::functionObjects::writeObjects::writeOptionNames_;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //