Skip to content

Commit

Permalink
Update CppInterOp.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbarton authored Jan 21, 2025
1 parent 1f94282 commit a600b22
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/Interpreter/CppInterOp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3441,12 +3441,8 @@ namespace Cpp {
}

class StreamCaptureInfo {
struct file_deleter
{
void operator()(FILE* fp)
{
pclose(fp);
}
struct file_deleter {
void operator()(FILE* fp) { pclose(fp); }
};
using file_pointer = std::unique_ptr<FILE, file_deleter>;
file_pointer m_TempFile;
Expand Down

0 comments on commit a600b22

Please sign in to comment.