Fixes const int error seen on some compilers (see #136)

Added a new test to try to highlight issue.
This commit is contained in:
Phil Nash
2012-11-16 21:03:59 +00:00
7 changed files with 26 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ class ExpressionLhs {
void operator = ( const ExpressionLhs& );
public:
ExpressionLhs( const T& lhs ) : m_lhs( lhs ) {}
ExpressionLhs( T lhs ) : m_lhs( lhs ) {}
template<typename RhsT>
ExpressionResultBuilder& operator == ( const RhsT& rhs ) {

View File

@@ -13,7 +13,7 @@
namespace Catch {
// These numbers are maintained by a script
Version libraryVersion = { 0, 9, 2, "integration" };
Version libraryVersion = { 0, 9, 3, "integration" };
}
#endif // TWOBLUECUBES_CATCH_VERSION_HPP_INCLUDED