Skip to content

Commit 2e38738

Browse files
committed
[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 <[email protected]>
1 parent a26df72 commit 2e38738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class ScriptedPythonInterface : virtual public ScriptedInterface {
145145
original_arg = ExtractValueFromPythonObject<T>(transformed_arg, error);
146146
}
147147

148-
template <>
148+
149149
void ReverseTransform(bool &original_arg,
150150
python::PythonObject transformed_arg, Status &error) {
151151
python::PythonBoolean boolean_arg = python::PythonBoolean(

0 commit comments

Comments
 (0)