blob: b74fb32b998962e6f96e46f6e924d4b07c6add02 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- a/beagle/include/beagle/RouletteT.hpp
+++ b/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)");
}
|