diff --git a/lib/CppInterOp/CppInterOp.cpp b/lib/CppInterOp/CppInterOp.cpp index 40014e55c..9257bfde5 100644 --- a/lib/CppInterOp/CppInterOp.cpp +++ b/lib/CppInterOp/CppInterOp.cpp @@ -2269,9 +2269,6 @@ void make_narg_call(const FunctionDecl* FD, const std::string& return_type, callbuf << "((const " << class_name << "*)obj)->"; else callbuf << "((" << class_name << "*)obj)->"; - - if (op_flag) - callbuf << class_name << "::"; } else if (isa(get_non_transparent_decl_context(FD))) { // This is a namespace member. if (op_flag || N <= 1)