diff options
Diffstat (limited to 'src/tests/taf.cpp')
-rw-r--r-- | src/tests/taf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/taf.cpp b/src/tests/taf.cpp index 859ecfc..45a6430 100644 --- a/src/tests/taf.cpp +++ b/src/tests/taf.cpp | |||
@@ -19,7 +19,7 @@ int main( int argc, char *argv[] ) | |||
19 | Bu::TafGroup *pGroup = tr.readGroup(); | 19 | Bu::TafGroup *pGroup = tr.readGroup(); |
20 | 20 | ||
21 | { | 21 | { |
22 | Bu::File fo("out.taf", Bu::File::Write ); | 22 | Bu::File fo("out.taf", Bu::File::Write|Bu::File::Create ); |
23 | Bu::TafWriter tw( fo ); | 23 | Bu::TafWriter tw( fo ); |
24 | tw.writeGroup( pGroup ); | 24 | tw.writeGroup( pGroup ); |
25 | } | 25 | } |
@@ -34,7 +34,7 @@ int main( int argc, char *argv[] ) | |||
34 | Bu::TafGroup *pGroup = tr.readGroup(); | 34 | Bu::TafGroup *pGroup = tr.readGroup(); |
35 | 35 | ||
36 | { | 36 | { |
37 | Bu::File fo( argv[2], Bu::File::Write ); | 37 | Bu::File fo( argv[2], Bu::File::Write|Bu::File::Create ); |
38 | Bu::TafWriter tw( fo ); | 38 | Bu::TafWriter tw( fo ); |
39 | tw.writeGroup( pGroup ); | 39 | tw.writeGroup( pGroup ); |
40 | } | 40 | } |