projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reverted yet another accidental commit of testing code in r57505
[wxWidgets.git]
/
src
/
common
/
regex.cpp
diff --git
a/src/common/regex.cpp
b/src/common/regex.cpp
index 7a7029c8b562846622156fb0598ffcf16ed6e797..40dff4df7073d021a788530f5c15462fe759a2db 100644
(file)
--- a/
src/common/regex.cpp
+++ b/
src/common/regex.cpp
@@
-378,7
+378,7
@@
static int ReSearch(const regex_t *preg,
re_registers *matches,
int eflags)
{
- regex_t *pattern =
wx_const_cast(regex_t*,
preg);
+ regex_t *pattern =
const_cast<regex_t*>(
preg);
pattern->not_bol = (eflags & REG_NOTBOL) != 0;
pattern->not_eol = (eflags & REG_NOTEOL) != 0;