[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>
This commit is contained in:
1 parent
650f04feda
commit
da0700829f
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user