16 lines
697 B
Plaintext
16 lines
697 B
Plaintext
$OpenBSD: patch-include_opal_pres_ent_h,v 1.1 2011/10/26 16:59:34 ajacoutot Exp $
|
|
|
|
Fix build with gcc3.
|
|
|
|
--- include/opal/pres_ent.h.orig Fri Oct 14 09:00:02 2011
|
|
+++ include/opal/pres_ent.h Sat Oct 22 12:10:42 2011
|
|
@@ -660,7 +660,7 @@ class OpalPresentityCommand {
|
|
public: virtual void Process(OpalPresentity & presentity) { dynamic_cast<entity &>(presentity).func(*this); } \
|
|
}; \
|
|
static PFactory<OpalPresentityCommand>::Worker<entity##_##command> \
|
|
- s_##entity##_##command(PDefaultPFactoryKey(entity::Class())+typeid(command).name())
|
|
+ s_entity##_##command(PDefaultPFactoryKey(#entity)+typeid(command).name())
|
|
|
|
|
|
/** Command for subscribing to the status of another presentity.
|