Merge branch 'dev/2435' of https://github.com/Tripwire/tripwire-open-source into dev/2435
This commit is contained in:
commit
ffd6dd8720
|
@ -75,7 +75,7 @@ void TestFSPropCalc()
|
|||
// oh boy! I finally get to test property calculation!
|
||||
d.TraceDebug("Creating FCO c:\\temp\\foo.bin\n");
|
||||
|
||||
std::ofstream fstr(foo_bin);
|
||||
std::ofstream fstr(foo_bin.c_str());
|
||||
if(fstr.bad())
|
||||
{
|
||||
d.TraceError("Unable to create test file %s!\n", foo_bin.c_str());
|
||||
|
|
|
@ -75,7 +75,7 @@ void test_policy_file(const std::string& polfile)
|
|||
pol_path.append(polfile);
|
||||
|
||||
std::ifstream in;
|
||||
in.open(pol_path);
|
||||
in.open(pol_path.c_str());
|
||||
if( ! in.good() )
|
||||
throw eParserHelper( _T("couldn't open test file") );
|
||||
|
||||
|
|
Loading…
Reference in New Issue