⚡ Sangsakala Proxy 🏠 Home
Skip to content

Commit 344225b

Browse files
committed
Inspect fixes
[SVN r30045]
1 parent a4137bb commit 344225b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎string/example/rle_example.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ using namespace std;
2424
using namespace boost;
2525

2626
// replace mark specification, specialize for a specific element type
27-
template< typename T > T repeat_mark() { return std::numeric_limits<T>::max(); };
27+
template< typename T > T repeat_mark() { return (std::numeric_limits<T>::max)(); };
2828

2929
// Compression -----------------------------------------------------------------------
3030

@@ -59,7 +59,7 @@ struct find_compressF
5959
{
6060
input_iterator_type It2=It++;
6161

62-
if ( It==End || Cnt>=std::numeric_limits<value_type>::max() )
62+
if ( It==End || Cnt>=(std::numeric_limits<value_type>)::max() )
6363
{
6464
return result_type( MStart, It );
6565
}

‎string/test/Jamfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ DEPENDS all : test ;
1717

1818
{
1919
test-suite algorithm/string
20-
: [ run
20+
: [ run
2121
trim_test.cpp
2222
: :
2323
:

0 commit comments

Comments
 (0)