Skip to content

Commit 33bad2a

Browse files
authored
Update CppInterOp.cpp
1 parent 2db0e76 commit 33bad2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Interpreter/CppInterOp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2836,7 +2836,7 @@ namespace Cpp {
28362836
}
28372837
};
28382838
using unique_file = std::unique_ptr<std::FILE, file_deleter>;
2839-
unique_file pipe(popen(cmd, "r"), pclose);
2839+
unique_file file{popen(cmd, "r")};
28402840
LLVM_DEBUG(dbgs() << "Executing command '" << cmd << "'\n");
28412841

28422842
if (!pipe) {

0 commit comments

Comments
 (0)