1
0
mirror of https://github.com/pocoproject/poco.git synced 2025-03-31 16:04:27 +02:00

fix for pre-c++11 compilers

This commit is contained in:
Guenter Obiltschnig 2015-04-21 19:38:21 +02:00
parent 1f1f828e29
commit 860186fa52

@ -139,7 +139,7 @@ void CompressTest::testSetZipComment()
void CompressTest::createDataFile(const std::string& path, Poco::UInt64 size)
{
std::ofstream out(path, std::ios::binary | std::ios::trunc);
std::ofstream out(path.c_str(), std::ios::binary | std::ios::trunc);
assert( ! out.fail() );
Poco::Buffer<char> buffer(MB);
for(int i = 0; size != 0; i++) {