diff options
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 4b3feb27..55f956ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -343,7 +343,7 @@ int main(int argc, char** argv) std::ofstream out;
if (output_file.size())
{
- out = std::ofstream(output_file);
+ out.open(output_file);
if(!out)
{
std::stringstream ss;
|