mirror of
https://github.com/boostorg/interprocess.git
synced 2026-02-01 20:42:15 +00:00
Merge from trunk
[SVN r80689]
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// (C) Copyright Ion Gaztanaga 2004-2011. Distributed under the Boost
|
||||
// (C) Copyright Ion Gaztanaga 2004-2012. Distributed under the Boost
|
||||
// Software License, Version 1.0. (See accompanying file
|
||||
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
//
|
||||
@@ -93,7 +93,7 @@ int main (int argc, char *argv[])
|
||||
//Create a mapped region
|
||||
mapped_region region (mapping, read_write, 0, FileSize, 0);
|
||||
|
||||
//Fill two regions with a pattern
|
||||
//Fill two regions with a pattern
|
||||
unsigned char *filler = static_cast<unsigned char*>(region.get_address());
|
||||
for(std::size_t i = 0; i < FileSize; ++i){
|
||||
*filler++ = static_cast<unsigned char>(i);
|
||||
|
||||
Reference in New Issue
Block a user