Changeset 296


Ignore:
Timestamp:
01/16/15 21:27:52 (10 years ago)
Author:
Maciej Komosinski
Message:

No SString dependency needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/virtfile/stdiofile.h

    r295 r296  
    77
    88#include "virtfile.h"
    9 #include <frams/util/sstring.h>
    109#include <common/nonstd_stdio.h>
    1110#include <common/nonstd_dir.h>
     
    2827public:
    2928        StdioFILE(MFILE *f):VirtFILE("") { file = f; }
    30         StdioFILE(MFILE *f, const SString& p):VirtFILE(p) { file = f; }
     29        StdioFILE(MFILE *f, const char* p):VirtFILE(p) { file = f; }
    3130        static void setStdio();
    3231        size_t Vread(void *ptr, size_t size, size_t nmemb) { return mfread(ptr, size, nmemb, file); }
     
    4847public:
    4948        StdioFILE(FILE *f):VirtFILE("") { file = f; }
    50         StdioFILE(FILE *f, const SString& p):VirtFILE(p) { file = f; }
     49        StdioFILE(FILE *f, const char* p):VirtFILE(p) { file = f; }
    5150        static void setStdio();
    5251        size_t Vread(void *ptr, size_t size, size_t nmemb) { return fread(ptr, size, nmemb, file); }
Note: See TracChangeset for help on using the changeset viewer.