diff options
Diffstat (limited to 'src/OutputFile.h')
-rw-r--r-- | src/OutputFile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/OutputFile.h b/src/OutputFile.h index 1223aef..e4cd91f 100644 --- a/src/OutputFile.h +++ b/src/OutputFile.h @@ -29,6 +29,7 @@ #include "ModOutput.h" +#include <string> #include <stdio.h> #include <sys/types.h> @@ -36,14 +37,14 @@ class OutputFile : public ModOutput { public: - OutputFile(const char* filename); + OutputFile(std::string filename); virtual ~OutputFile(); virtual int process(Buffer* dataIn, Buffer* dataOut); const char* name() { return "OutputFile"; } protected: - const char* myFilename; + std::string myFilename; FILE* myFile; }; |