From addca63bba3ddaf212e44cdf16e95038b0a5bf3e Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 20 Oct 2007 17:59:32 +0000 Subject: Just marked Bu::FString::c_str as deprecated, don't use it, it'll go away later. --- src/unit/taf.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/unit') 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: fOut.write(data,strlen(data)); fOut.close(); - Bu::File fIn(sFnTmp.c_str(), "rb"); + Bu::File fIn(sFnTmp.getStr(), "rb"); Bu::TafReader tr(fIn); Bu::TafGroup *tn = tr.readGroup(); - unitTest( !strcmp("Bob", tn->getProperty("name").c_str()) ); + unitTest( !strcmp("Bob", tn->getProperty("name").getStr()) ); delete tn; - unlink(sFnTmp.c_str()); + unlink(sFnTmp.getStr()); #undef FN_TMP } }; -- cgit v1.2.3