blob: aae20e93be83d5eaaae4ea51cfb5b995bc48c7d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
https://github.com/ukoethe/vigra/issues/591
https://github.com/msys2/MINGW-packages/commit/bd697fd68cd657cfc3c746a290335b1faaf5371b
--- a/include/vigra/multi_iterator_coupled.hxx
+++ b/include/vigra/multi_iterator_coupled.hxx
@@ -490,7 +490,7 @@
CoupledScanOrderIterator operator--(int)
{
CoupledScanOrderIterator res(*this);
- --this;
+ --(*this);
return res;
}
--- a/include/vigra/random_access_set.hxx
+++ b/include/vigra/random_access_set.hxx
@@ -400,8 +400,8 @@
const typename RandomAccessSet<Key,Compare,Alloc>::value_type& value
)
{
- if((position == begin() || this->operator()(*(position-1),value))
- && (position == end() || this->operator()(value, *position))) {
+ if((position == begin() || key_comp()(*(position-1),value))
+ && (position == end() || key_comp()(value, *position))) {
return vector_.insert(position, value);
}
return insert(value).first;
|