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:
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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user