bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

small patch to thread.h


From: Vaclav Haisman
Subject: small patch to thread.h
Date: Wed, 30 Jan 2002 12:34:05 +0100 (CET)

Hi, class keyword is required in friend declaration.

Vaclav Haisman

Index: src/thread.h
===================================================================
RCS file: /cvsroot/cplusplus/CommonC++/src/thread.h,v
retrieving revision 1.34
diff -u -r1.34 thread.h
--- src/thread.h        2002/01/24 21:05:37     1.34
+++ src/thread.h        2002/01/30 11:28:41
@@ -1541,7 +1541,7 @@
 #ifndef WIN32
        pthread_key_t key;
        typedef void (*TDestruct)(void*);
-       friend Thread;
+       friend class Thread;
        ThreadKey(TDestruct destruct);
 #else
        DWORD   key;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]