Skip to content
Snippets Groups Projects
Commit ab7dcca8 authored by Henry Weller's avatar Henry Weller
Browse files

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

Resolves compilation failure with clang
parent 4a766d28
No related branches found
No related tags found
No related merge requests found
......@@ -42,23 +42,26 @@ namespace functionObjects
writeObjects,
dictionary
);
template<>
const char* Foam::NamedEnum
<
Foam::functionObjects::writeObjects::writeOption,
3
>::names[] =
{
"autoWrite",
"noWrite",
"anyWrite"
};
}
}
const Foam::NamedEnum<Foam::functionObjects::writeObjects::writeOption, 3>
Foam::functionObjects::writeObjects::writeOptionNames_;
template<>
const char* Foam::NamedEnum
<
Foam::functionObjects::writeObjects::writeOption,
3
>::names[] =
{
"autoWrite",
"noWrite",
"anyWrite"
};
const Foam::NamedEnum
<
Foam::functionObjects::writeObjects::writeOption,
3
> Foam::functionObjects::writeObjects::writeOptionNames_;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment