diff options
Diffstat (limited to 'src/3rdParty/efsw/String.cpp')
-rwxr-xr-x | src/3rdParty/efsw/String.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/3rdParty/efsw/String.cpp b/src/3rdParty/efsw/String.cpp index 8c9a3cc..e3ba68f 100755 --- a/src/3rdParty/efsw/String.cpp +++ b/src/3rdParty/efsw/String.cpp | |||
@@ -382,7 +382,7 @@ String& String::assign( const String& str, size_t pos, size_t n ) { | |||
382 | return *this; | 382 | return *this; |
383 | } | 383 | } |
384 | 384 | ||
385 | String& String::assign( const char* s, size_t n ) { | 385 | String& String::assign( const char* s, size_t /*n*/ ) { |
386 | String tmp( s ); | 386 | String tmp( s ); |
387 | 387 | ||
388 | mString.assign( tmp.mString ); | 388 | mString.assign( tmp.mString ); |
@@ -416,7 +416,7 @@ String& String::append( const String& str, size_t pos, size_t n ) { | |||
416 | return *this; | 416 | return *this; |
417 | } | 417 | } |
418 | 418 | ||
419 | String& String::append( const char* s, size_t n ) { | 419 | String& String::append( const char* s, size_t /*n*/ ) { |
420 | String tmp( s ); | 420 | String tmp( s ); |
421 | 421 | ||
422 | mString.append( tmp.mString ); | 422 | mString.append( tmp.mString ); |
@@ -510,7 +510,7 @@ std::size_t String::find( const String& str, std::size_t start ) const { | |||
510 | return mString.find( str.mString, start ); | 510 | return mString.find( str.mString, start ); |
511 | } | 511 | } |
512 | 512 | ||
513 | std::size_t String::find( const char* s, std::size_t pos, std::size_t n ) const { | 513 | std::size_t String::find( const char* s, std::size_t pos, std::size_t /*n*/ ) const { |
514 | return find( String( s ), pos ); | 514 | return find( String( s ), pos ); |
515 | } | 515 | } |
516 | 516 | ||
@@ -526,7 +526,7 @@ std::size_t String::rfind( const String& str, std::size_t pos ) const { | |||
526 | return mString.rfind( str.mString, pos ); | 526 | return mString.rfind( str.mString, pos ); |
527 | } | 527 | } |
528 | 528 | ||
529 | std::size_t String::rfind( const char* s, std::size_t pos, std::size_t n ) const { | 529 | std::size_t String::rfind( const char* s, std::size_t pos, std::size_t /*n*/ ) const { |
530 | return rfind( String( s ), pos ); | 530 | return rfind( String( s ), pos ); |
531 | } | 531 | } |
532 | 532 | ||
@@ -575,7 +575,7 @@ std::size_t String::find_first_of( const String& str, std::size_t pos ) const { | |||
575 | return mString.find_first_of( str.mString, pos ); | 575 | return mString.find_first_of( str.mString, pos ); |
576 | } | 576 | } |
577 | 577 | ||
578 | std::size_t String::find_first_of( const char* s, std::size_t pos, std::size_t n ) const { | 578 | std::size_t String::find_first_of( const char* s, std::size_t pos, std::size_t /*n*/ ) const { |
579 | return find_first_of( String( s ), pos ); | 579 | return find_first_of( String( s ), pos ); |
580 | } | 580 | } |
581 | 581 | ||
@@ -591,7 +591,7 @@ std::size_t String::find_last_of( const String& str, std::size_t pos ) const { | |||
591 | return mString.find_last_of( str.mString, pos ); | 591 | return mString.find_last_of( str.mString, pos ); |
592 | } | 592 | } |
593 | 593 | ||
594 | std::size_t String::find_last_of( const char* s, std::size_t pos, std::size_t n ) const { | 594 | std::size_t String::find_last_of( const char* s, std::size_t pos, std::size_t /*n*/ ) const { |
595 | return find_last_of( String( s ), pos ); | 595 | return find_last_of( String( s ), pos ); |
596 | } | 596 | } |
597 | 597 | ||
@@ -607,7 +607,7 @@ std::size_t String::find_first_not_of( const String& str, std::size_t pos ) cons | |||
607 | return mString.find_first_not_of( str.mString, pos ); | 607 | return mString.find_first_not_of( str.mString, pos ); |
608 | } | 608 | } |
609 | 609 | ||
610 | std::size_t String::find_first_not_of( const char* s, std::size_t pos, std::size_t n ) const { | 610 | std::size_t String::find_first_not_of( const char* s, std::size_t pos, std::size_t /*n*/ ) const { |
611 | return find_first_not_of( String( s ), pos ); | 611 | return find_first_not_of( String( s ), pos ); |
612 | } | 612 | } |
613 | 613 | ||
@@ -623,7 +623,7 @@ std::size_t String::find_last_not_of( const String& str, std::size_t pos ) const | |||
623 | return mString.find_last_not_of( str.mString, pos ); | 623 | return mString.find_last_not_of( str.mString, pos ); |
624 | } | 624 | } |
625 | 625 | ||
626 | std::size_t String::find_last_not_of( const char* s, std::size_t pos, std::size_t n ) const { | 626 | std::size_t String::find_last_not_of( const char* s, std::size_t pos, std::size_t /*n*/ ) const { |
627 | return find_last_not_of( String( s ), pos ); | 627 | return find_last_not_of( String( s ), pos ); |
628 | } | 628 | } |
629 | 629 | ||