mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-05 20:57:38 +01:00
OpenSolaris + SunPro C++ compile fix
This commit is contained in:
@@ -314,7 +314,9 @@ ZipArchive Compress::close()
|
||||
std::string centr(central.createHeader());
|
||||
_out.write(centr.c_str(), static_cast<std::streamsize>(centr.size()));
|
||||
_out.flush();
|
||||
_dirs.insert(std::make_pair(0, central));
|
||||
// SunPro C++ fix
|
||||
std::pair<UInt16, ZipArchiveInfo> par(0, central);
|
||||
_dirs.insert(par);
|
||||
return ZipArchive(_files, _infos, _dirs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user