aboutsummaryrefslogtreecommitdiffstats
path: root/CommonLibs/InterthreadTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CommonLibs/InterthreadTest.cpp')
-rw-r--r--CommonLibs/InterthreadTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/CommonLibs/InterthreadTest.cpp b/CommonLibs/InterthreadTest.cpp
index 1712689..03445d9 100644
--- a/CommonLibs/InterthreadTest.cpp
+++ b/CommonLibs/InterthreadTest.cpp
@@ -82,7 +82,8 @@ void* mapReader(void*)
for (int i=0; i<20; i++) {
int *p = gMap.read(i);
COUT("map read " << *p);
- delete p;
+ // InterthreadMap will delete the pointers
+ // delete p;
}
return NULL;
}