aboutsummaryrefslogtreecommitdiff
path: root/src/unit
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-10-20 17:59:32 +0000
committerMike Buland <eichlan@xagasoft.com>2007-10-20 17:59:32 +0000
commitaddca63bba3ddaf212e44cdf16e95038b0a5bf3e (patch)
tree3aeded76d3104689485f6e66ba6a126c2bcf1287 /src/unit
parent640154682b767ec19cb9ac3972118c10bba8e780 (diff)
downloadlibbu++-addca63bba3ddaf212e44cdf16e95038b0a5bf3e.tar.gz
libbu++-addca63bba3ddaf212e44cdf16e95038b0a5bf3e.tar.bz2
libbu++-addca63bba3ddaf212e44cdf16e95038b0a5bf3e.tar.xz
libbu++-addca63bba3ddaf212e44cdf16e95038b0a5bf3e.zip
Just marked Bu::FString::c_str as deprecated, don't use it, it'll go away later.
Diffstat (limited to '')
-rw-r--r--src/unit/taf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unit/taf.cpp b/src/unit/taf.cpp
index 5e0e914..94b4613 100644
--- a/src/unit/taf.cpp
+++ b/src/unit/taf.cpp
@@ -29,14 +29,14 @@ public:
29 fOut.write(data,strlen(data)); 29 fOut.write(data,strlen(data));
30 fOut.close(); 30 fOut.close();
31 31
32 Bu::File fIn(sFnTmp.c_str(), "rb"); 32 Bu::File fIn(sFnTmp.getStr(), "rb");
33 Bu::TafReader tr(fIn); 33 Bu::TafReader tr(fIn);
34 34
35 Bu::TafGroup *tn = tr.readGroup(); 35 Bu::TafGroup *tn = tr.readGroup();
36 unitTest( !strcmp("Bob", tn->getProperty("name").c_str()) ); 36 unitTest( !strcmp("Bob", tn->getProperty("name").getStr()) );
37 delete tn; 37 delete tn;
38 38
39 unlink(sFnTmp.c_str()); 39 unlink(sFnTmp.getStr());
40#undef FN_TMP 40#undef FN_TMP
41 } 41 }
42}; 42};