freebsd-ports/games/battletanks/files/patch-math-range_list.h
Alexey Dokuchaev 44fdbe602a - Unbreak the build with Clang and remove disgusting USE_GCC knob
- Rename a patch now that it fixes more than just GCC v4.6 issue
- Tighten DESKTOP_ENTRIES (do not set Comment and StartupNotify)
- Fix a few annoying SCons warnings (due to aging SConstruct file)
- Python is only used for the build, so plain USE_PYTHON is wrong
- Stagify, mention dedicated server mode availability in pkg-descr
2014-01-15 11:38:05 +00:00

19 lines
587 B
C

--- math/range_list.h.orig 2008-10-24 22:15:55.000000000 +0800
+++ math/range_list.h 2014-01-15 15:44:11.000000000 +0800
@@ -53,14 +53,14 @@ public:
return;
}
- typename parent_type::iterator i = lower_bound(value);
+ typename parent_type::iterator i = this->lower_bound(value);
if (i != parent_type::end()) {
if (i->first == value)
return;
if (value + 1 == i->first) {
T e = i->second;
- erase(i);
+ this->erase(i);
i = parent_type::insert(typename parent_type::value_type(value, e)).first; //expand beginning
i = pack_left(i);
}