From 1889b55dcbb3f5c5cccc3bcd986b13d0d108ed6c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 27 Apr 2010 17:07:55 +0000 Subject: 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. --- src/tests/itoheap.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/tests/itoheap.cpp') 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: { } - void *run() + void run() { for( int j = 0; j < 10; j++ ) { @@ -39,8 +39,6 @@ public: printf("Nothing yet...\n"); } } - - return NULL; } Bu::ItoHeap hInt; -- cgit v1.2.3