Module: sems
Branch: master
Commit: d8a6429bdacaf7182f0feab128355ed9e390eca3
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=d8a6429bdacaf7182f0feab128355ed9e390eca3

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Sun Oct 30 19:33:56 2011 +0100

fix: AmPluginEvent constructor in core to use core symbol also with RTLD_LOCAL

---

 core/AmEvent.cpp |    8 ++++++++
 core/AmEvent.h   |    6 ++----
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/core/AmEvent.cpp b/core/AmEvent.cpp
index 1aadc2f..2b9840f 100644
--- a/core/AmEvent.cpp
+++ b/core/AmEvent.cpp
@@ -18,3 +18,11 @@ AmEvent* AmEvent::clone() {
   return new AmEvent(*this);
 }
 
+
+
+AmPluginEvent::AmPluginEvent(const string& n, const AmArg& d)
+  : AmEvent(E_PLUGIN), name(n), data(d) {}
+
+AmPluginEvent::AmPluginEvent(const string& n)
+  : AmEvent(E_PLUGIN), name(n), data() {}
+
diff --git a/core/AmEvent.h b/core/AmEvent.h
index 4fbacf2..054dcc5 100644
--- a/core/AmEvent.h
+++ b/core/AmEvent.h
@@ -60,11 +60,9 @@ struct AmPluginEvent: public AmEvent
   string      name;
   AmArg       data;
 
-  AmPluginEvent(const string& n)
-    : AmEvent(E_PLUGIN), name(n), data() {}
+  AmPluginEvent(const string& n);
 
-  AmPluginEvent(const string& n, const AmArg& d)
-    : AmEvent(E_PLUGIN), name(n), data(d) {}
+  AmPluginEvent(const string& n, const AmArg& d);
 };
 
 /**

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to