aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/amule-devel
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2011-09-21 04:30:04 +0800
committerrene <rene@FreeBSD.org>2011-09-21 04:30:04 +0800
commitd9e770995eaac6d3b3840fffb2d20f9d66aa28e6 (patch)
treef44ecf134426e49d2a403a2cea0b41735d96ddda /net-p2p/amule-devel
parentb724fb6c103031fc1e62700327b75f84384559c9 (diff)
downloadfreebsd-ports-gnome-d9e770995eaac6d3b3840fffb2d20f9d66aa28e6.tar.gz
freebsd-ports-gnome-d9e770995eaac6d3b3840fffb2d20f9d66aa28e6.tar.zst
freebsd-ports-gnome-d9e770995eaac6d3b3840fffb2d20f9d66aa28e6.zip
Fix build with clang.
PR: ports/160510 Submitted by: "h h" [aakuusta gmail.com] Approved by: maintainer timeout (swell.k, 14 days)
Diffstat (limited to 'net-p2p/amule-devel')
-rw-r--r--net-p2p/amule-devel/files/patch-src-ObservableQueue.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-p2p/amule-devel/files/patch-src-ObservableQueue.h b/net-p2p/amule-devel/files/patch-src-ObservableQueue.h
new file mode 100644
index 000000000000..3b5c60260627
--- /dev/null
+++ b/net-p2p/amule-devel/files/patch-src-ObservableQueue.h
@@ -0,0 +1,20 @@
+--- src/ObservableQueue.h~
++++ src/ObservableQueue.h
+@@ -331,7 +331,7 @@ CObservableQueue<ValueType>::~CObservabl
+ template <typename ValueType>
+ void CObservableQueue<ValueType>::ObserverAdded( ObserverType* o )
+ {
+- NotifyObservers( EventType( EventType::STARTING ), o );
++ this->NotifyObservers( EventType( EventType::STARTING ), o );
+ }
+
+
+@@ -338,7 +338,7 @@ void CObservableQueue<ValueType>::Observ
+ template <typename ValueType>
+ void CObservableQueue<ValueType>::ObserverRemoved( ObserverType* o )
+ {
+- NotifyObservers( EventType( EventType::STOPPING ), o );
++ this->NotifyObservers( EventType( EventType::STOPPING ), o );
+ }
+
+ \ No newline at end of file