diff --git a/src/Mod/Part/App/FT2FC.cpp b/src/Mod/Part/App/FT2FC.cpp index 0a0538d3b2..31fecd7422 100644 --- a/src/Mod/Part/App/FT2FC.cpp +++ b/src/Mod/Part/App/FT2FC.cpp @@ -142,7 +142,7 @@ PyObject* FT2FC(const Py_UNICODE *PyUString, int bytesNeeded = fontfile.tellg(); fontfile.clear(); fontfile.seekg (0, fontfile.beg); - auto buffer = std::unique_ptr (new char[bytesNeeded]); + std::unique_ptr buffer (new char[bytesNeeded]); fontfile.read(buffer.get(), bytesNeeded); if (!fontfile) { //get indignant