We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a1bb48 commit ff1dea6Copy full SHA for ff1dea6
1 file changed
pyfastutil/src/unsafe/ASM.cpp
@@ -2,7 +2,6 @@
2
// Created by xia__mc on 2024/12/10.
3
//
4
5
-#include <format>
6
#include "ASM.h"
7
#include "utils/memory/AlignedAllocator.h"
8
#include "utils/memory/FastMemcpy.h"
@@ -275,7 +274,7 @@ static PyObject *ASM_freeFunction([[maybe_unused]] PyObject *__restrict self,
275
274
} catch (const std::out_of_range& e) {
276
PyErr_SetString(
277
PyExc_ValueError,
278
- std::format("Invalid argument, does this function still exist? ({})", e.what()).c_str());
+ (std::string("Invalid argument, does this function still exist? (") + e.what() + ")").c_str());
279
return nullptr;
280
}
281
0 commit comments