Ignore:
Timestamp:
07/03/16 17:36:35 (5 years ago)
Author:
Maciej Komosinski
Message:

No more overloading of fopen/fclose/... functions for the VirtFILE class. #define VIRTFILE_OVERLOADING to enable overloading only when necessary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/multiparamload.cpp

    r413 r523  
    6666if (file && ownfile)
    6767        {
    68         fclose(file);
     68        delete file;
    6969        file=0;
    7070        }
     
    258258{
    259259VirtFILE *f;
    260 while(f=popstack()) fclose(f);
     260while(f=popstack()) delete f;
    261261}
    262262
     
    264264{
    265265if (!filestack.size()) return false;
    266 if (file) fclose(file);
     266if (file) delete file;
    267267file=popstack();
    268268return true;
Note: See TracChangeset for help on using the changeset viewer.