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