forked from boostorg/regex
remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
This commit is contained in:
1 parent
50b8204753
commit
3075aaba4a
12 files changed
+34
-24
No files matched your search
@@ -213,7 +213,7 @@ public:
|
||||
{
|
||||
difference_type dist = boost::re_detail::distance(a,b);
|
||||
states *= states;
|
||||
difference_type lim = std::numeric_limits<difference_type>::max() - 1000 - states;
|
||||
difference_type lim = (std::numeric_limits<difference_type>::max)() - 1000 - states;
|
||||
if(dist > (difference_type)(lim / states))
|
||||
max_state_count = lim;
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user