diff --git a/src/fileFormats/sampledSetWriters/writer.C b/src/fileFormats/sampledSetWriters/writer.C index 09a6b884594dedaf4e7c134e94a1e05c06eaada6..5b7bb64183f154bd423aed03e8be3392f8b21a27 100644 --- a/src/fileFormats/sampledSetWriters/writer.C +++ b/src/fileFormats/sampledSetWriters/writer.C @@ -62,7 +62,7 @@ Foam::autoPtr<Foam::writer<Type>> Foam::writer<Type>::New const dictionary& formatOptions ) { - auto ctorPtr = dictConstructorTable(writeType); + auto* ctorPtr = dictConstructorTable(writeType); if (!ctorPtr) {