Bustage followup from bug 381315

git-svn-id: svn://10.0.0.236/trunk@227016 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
benjamin%smedbergs.us 2007-05-25 15:37:59 +00:00
parent 3dc245e9c4
commit 0802e8071e

View File

@ -61,6 +61,7 @@ public:
~AutoFILE() { if (fp_) fclose(fp_); }
operator FILE *() { return fp_; }
FILE** operator &() { return &fp_; }
void operator=(FILE *fp) { fp_ = fp; }
private:
FILE *fp_;
};