diff --git a/src/etc/filefuncs.cpp b/src/etc/filefuncs.cpp index d379fb5..3c549e8 100644 --- a/src/etc/filefuncs.cpp +++ b/src/etc/filefuncs.cpp @@ -17,7 +17,4 @@ string getFileContent(const string& file) } else throw Yerbacon::Exception("Could not open \"" + file + "\" : " + generic_category().message(errno)); } -void outputFileContent(const string& file, const string_view content) { - ofstream outputFile (file, ofstream::out); - outputFile << content; -} \ No newline at end of file +void outputFileContent(const string& file, const string_view content) { ofstream(file, ofstream::out) << content;} \ No newline at end of file