From 8f517ec5c7f5e82b21f0bc88c6159037f595eb79 Mon Sep 17 00:00:00 2001 From: xtemp09 Date: Sat, 15 Apr 2023 15:41:33 +0700 Subject: [PATCH] Fix the typo in #9267 --- src/Mod/Part/App/FT2FC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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