From da0700829f163ad5d8bbd61aa137e586a816e06e Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Tue, 25 Apr 2023 17:26:16 -0700 Subject: [lldb] Fix another GCC build failure in ScriptedPythonInterface.h In 6c961ae, I've introduced a new explicit fully specialized templated method `ScriptedPythonInterface::ReverseTransform(bool&, PythonObject, Status&)`. However, that explicit specialization is causing GCC to choke when building the file as shown here: https://lab.llvm.org/buildbot/#/builders/217/builds/20430 To address that issue, this patch turns the method explicit specialization into an method overload. Differential Revision: https://reviews.llvm.org/D149218 Signed-off-by: Med Ismail Bennani --- lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h index 2a8ca262b91d..04e265159e43 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h @@ -146,7 +146,7 @@ protected: original_arg = ExtractValueFromPythonObject(transformed_arg, error); } - template <> + void ReverseTransform(bool &original_arg, python::PythonObject transformed_arg, Status &error) { python::PythonBoolean boolean_arg = python::PythonBoolean( -- cgit v1.2.3