mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Changes and fixes for Boost 1.37
[SVN r49277]
This commit is contained in:
@@ -49,7 +49,7 @@ int main()
|
||||
std::fstream file("MyManagedFile2", std::ios_base::out | std::ios_base::binary);
|
||||
if(!file)
|
||||
throw int(0);
|
||||
file.write((const char *)managed_file_cow.get_address(), managed_file_cow.get_size());
|
||||
file.write(static_cast<const char *>(managed_file_cow.get_address()), managed_file_cow.get_size());
|
||||
}
|
||||
|
||||
//Now open the modified file and test changes
|
||||
|
||||
Reference in New Issue
Block a user