Trailing spaces and Phoenix singleton for intermodule_singleton

[SVN r78515]
This commit is contained in:
Ion Gaztañaga
2012-05-20 09:47:08 +00:00
parent 5ac78de951
commit ded788bdf8
91 changed files with 1125 additions and 947 deletions

View File

@@ -26,7 +26,7 @@ int main(int argc, char *argv[])
if(argc == 1){ //Parent process
//Remove shared memory on construction and destruction
struct shm_remove
struct shm_remove
{
//<-
#if 1
@@ -112,12 +112,12 @@ int main(int argc, char *argv[])
std::pair<MyType*, managed_shared_memory::size_type> res;
//Find the array
res = segment.find<MyType> ("MyType array");
res = segment.find<MyType> ("MyType array");
//Length should be 10
if(res.second != 10) return 1;
//Find the object
res = segment.find<MyType> ("MyType instance");
res = segment.find<MyType> ("MyType instance");
//Length should be 1
if(res.second != 1) return 1;