summaryrefslogtreecommitdiff
path: root/src/tests/itoheap.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-04-27 17:07:55 +0000
committerMike Buland <eichlan@xagasoft.com>2010-04-27 17:07:55 +0000
commit1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c (patch)
tree3ea239424e33edfc8d9b80aa6b923d944cd0bfa1 /src/tests/itoheap.cpp
parent801e7de1f85656746d832508baf4583907826420 (diff)
downloadlibbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.gz
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.bz2
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.tar.xz
libbu++-1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c.zip
The Bu::Ito thread class has changed the rules on the run function. It no
longer returns anything, that's fine, it's in a class, but it also is protected now. That doesn't really effect child classes much, they can make run public, but I reccomend protected to avoid confusion.
Diffstat (limited to 'src/tests/itoheap.cpp')
-rw-r--r--src/tests/itoheap.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/itoheap.cpp b/src/tests/itoheap.cpp
index 92bf3cf..347f1e0 100644
--- a/src/tests/itoheap.cpp
+++ b/src/tests/itoheap.cpp
@@ -23,7 +23,7 @@ public:
23 { 23 {
24 } 24 }
25 25
26 void *run() 26 void run()
27 { 27 {
28 for( int j = 0; j < 10; j++ ) 28 for( int j = 0; j < 10; j++ )
29 { 29 {
@@ -39,8 +39,6 @@ public:
39 printf("Nothing yet...\n"); 39 printf("Nothing yet...\n");
40 } 40 }
41 } 41 }
42
43 return NULL;
44 } 42 }
45 43
46 Bu::ItoHeap<int> hInt; 44 Bu::ItoHeap<int> hInt;