mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-17 08:05:12 -04:00
minor change to support a bug in VisualC++ 2005
This commit is contained in:
parent
7f430ddf5c
commit
05244fae62
@ -238,7 +238,10 @@ inline void StdOutput::spacePrint( std::ostream& os,
|
||||
while ( start < len )
|
||||
{
|
||||
// find the substring length
|
||||
int stringLen = std::min<int>( len - start, allowedLen );
|
||||
// int stringLen = std::min<int>( len - start, allowedLen );
|
||||
// doing it this way to support a VisualC++ 2005 bug
|
||||
using namespace std;
|
||||
int stringLen = min<int>( len - start, allowedLen );
|
||||
|
||||
// trim the length so it doesn't end in middle of a word
|
||||
if ( stringLen == allowedLen )
|
||||
|
Loading…
x
Reference in New Issue
Block a user