diff options
| author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-04-25 17:26:16 -0700 |
|---|---|---|
| committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-04-25 17:26:45 -0700 |
| commit | da0700829f163ad5d8bbd61aa137e586a816e06e (patch) | |
| tree | 1c6de3c5bacbf12b770bdda6bc2feab633850669 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 650f04feda9039e170de513dab261c672fa847cd (diff) | |
| download | llvm-da0700829f163ad5d8bbd61aa137e586a816e06e.zip llvm-da0700829f163ad5d8bbd61aa137e586a816e06e.tar.gz llvm-da0700829f163ad5d8bbd61aa137e586a816e06e.tar.bz2 | |
[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 <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
| -rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h index 2a8ca26..04e2651 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<T>(transformed_arg, error); } - template <> + void ReverseTransform(bool &original_arg, python::PythonObject transformed_arg, Status &error) { python::PythonBoolean boolean_arg = python::PythonBoolean( |
