summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/beagle/files/beagle-3.0.3-gcc47.patch')
-rw-r--r--sci-libs/beagle/files/beagle-3.0.3-gcc47.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch b/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch
new file mode 100644
index 000000000000..cb3546c68a5c
--- /dev/null
+++ b/sci-libs/beagle/files/beagle-3.0.3-gcc47.patch
@@ -0,0 +1,10 @@
+--- beagle/include/beagle/RouletteT.hpp
++++ beagle/include/beagle/RouletteT.hpp
+@@ -87,7 +87,7 @@
+ Beagle_StackTraceBeginM();
+ Beagle_AssertM(inWeight>=0.0);
+ if(VectorType::empty()==false) inWeight += VectorType::back().first;
+- push_back(std::make_pair(inWeight,inValue));
++ this->push_back(std::make_pair(inWeight,inValue));
+ Beagle_StackTraceEndM("void RouletteT<T>::insert(const T& inValue, double inWeight)");
+ }