Skip to content

Commit

Permalink
v1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
philsquared committed Jun 9, 2016
1 parent 742457c commit 35f5105
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![catch logo](catch-logo-small.png)

*v1.5.5*
*v1.5.6*

Build status (on Travis CI) [![Build Status](https://travis-ci.org/philsquared/Catch.png)](https://travis-ci.org/philsquared/Catch)

Expand Down
2 changes: 1 addition & 1 deletion include/internal/catch_version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace Catch {
return os;
}

Version libraryVersion( 1, 5, 5, "", 0 );
Version libraryVersion( 1, 5, 6, "", 0 );

}

Expand Down
15 changes: 8 additions & 7 deletions single_include/catch.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Catch v1.5.5
* Generated: 2016-06-09 08:17:50.409622
* Catch v1.5.6
* Generated: 2016-06-09 19:20:41.460328
* ----------------------------------------------------------
* This file has been merged from multiple headers. Please don't edit it directly
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
Expand Down Expand Up @@ -4185,7 +4185,7 @@ namespace Clara {
}
}
Mode handleOpt( std::size_t i, char c, std::string const& arg, std::vector<Token>& tokens ) {
if( std::string( ":=\0", 5 ).find( c ) == std::string::npos )
if( std::string( ":=\0", 3 ).find( c ) == std::string::npos )
return mode;

std::string optName = arg.substr( from, i-from );
Expand All @@ -4199,7 +4199,7 @@ namespace Clara {
return None;
}
Mode handlePositional( std::size_t i, char c, std::string const& arg, std::vector<Token>& tokens ) {
if( inQuotes || std::string( "\0", 3 ).find( c ) == std::string::npos )
if( inQuotes || std::string( "\0", 1 ).find( c ) == std::string::npos )
return mode;

std::string data = arg.substr( from, i-from );
Expand Down Expand Up @@ -6465,10 +6465,11 @@ namespace Catch {
#endif
template<typename V>
static void shuffle( V& vector ) {
RandomNumberGenerator rng;
#ifdef CATCH_CPP14_OR_GREATER
std::shuffle( vector.begin(), vector.end(), RandomNumberGenerator() );
std::shuffle( vector.begin(), vector.end(), rng );
#else
std::random_shuffle( vector.begin(), vector.end(), RandomNumberGenerator() );
std::random_shuffle( vector.begin(), vector.end(), rng );
#endif
}
};
Expand Down Expand Up @@ -7570,7 +7571,7 @@ namespace Catch {
return os;
}

Version libraryVersion( 1, 5, 5, "", 0 );
Version libraryVersion( 1, 5, 6, "", 0 );

}

Expand Down

0 comments on commit 35f5105

Please sign in to comment.