summaryrefslogtreecommitdiffstats
path: root/Tests/AliasTarget/commandgenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/AliasTarget/commandgenerator.cpp')
-rw-r--r--Tests/AliasTarget/commandgenerator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/AliasTarget/commandgenerator.cpp b/Tests/AliasTarget/commandgenerator.cpp
index aaab014..c4d80a1 100644
--- a/Tests/AliasTarget/commandgenerator.cpp
+++ b/Tests/AliasTarget/commandgenerator.cpp
@@ -5,8 +5,7 @@
int main(int argc, char** argv)
{
- std::fstream fout;
- fout.open("commandoutput.h", std::ios::out);
+ std::ofstream fout("commandoutput.h");
if (!fout)
return 1;
fout << "#define COMMANDOUTPUT_DEFINE\n";