|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57219 - sandbox/tools/profile_templates/src
From: steven_at_[hidden]
Date: 2009-10-29 01:30:14
Author: steven_watanabe
Date: 2009-10-29 01:30:13 EDT (Thu, 29 Oct 2009)
New Revision: 57219
URL: http://svn.boost.org/trac/boost/changeset/57219
Log:
Fix std::max ambiguity.
Text files modified:
sandbox/tools/profile_templates/src/postprocess.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/tools/profile_templates/src/postprocess.cpp
==============================================================================
--- sandbox/tools/profile_templates/src/postprocess.cpp (original)
+++ sandbox/tools/profile_templates/src/postprocess.cpp 2009-10-29 01:30:13 EDT (Thu, 29 Oct 2009)
@@ -175,7 +175,7 @@
while(std::getline(input, line)) {
boost::smatch match;
if(boost::regex_match(line, match, enter_message)) {
- max_match_length = boost::numeric_cast<int>((std::max)(max_match_length, match[1].length()));
+ max_match_length = (std::max)(max_match_length, boost::numeric_cast<int>(match[1].length()));
++messages[match[1]];
++total_matches;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk