projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regenerated makefiles
[wxWidgets.git]
/
src
/
common
/
dynarray.cpp
diff --git
a/src/common/dynarray.cpp
b/src/common/dynarray.cpp
index 738e9813a39a140945104945b8d424fd221c7872..4f4915a25bb18965353d51ffac2f19974bb28b76 100644
(file)
--- a/
src/common/dynarray.cpp
+++ b/
src/common/dynarray.cpp
@@
-99,8
+99,8
@@
int name::Index(T lItem, CMPFUNC fnCompare) const \
{ \
Predicate p((SCMPFUNC)fnCompare); \
const_iterator it = std::lower_bound(begin(), end(), lItem, p); \
{ \
Predicate p((SCMPFUNC)fnCompare); \
const_iterator it = std::lower_bound(begin(), end(), lItem, p); \
- return (it != end() &&
\
-
p(lItem, *it)) ?
(int)(it - begin()) : wxNOT_FOUND; \
+ return (it != end() &&
!p(lItem, *it)) ?
\
+
(int)(it - begin()) : wxNOT_FOUND; \
} \
\
void name::Shrink() \
} \
\
void name::Shrink() \