diff options
| author | Phil Nash | 2012-11-16 21:03:59 +0000 |
|---|---|---|
| committer | Phil Nash | 2012-11-16 21:03:59 +0000 |
| commit | 08142bfdb69ac8ef90aac1cade378498dd0eca9c (patch) | |
| tree | 69f05a26fb7232227024a97225a4e151c9b75bc1 /include | |
| parent | 0c90ab3572e91a6fc598bbabdb91c5f57c47b69d (diff) | |
| parent | 88a3f2326573722c248853a8bb1cbbc87364c7d2 (diff) | |
| download | catch3-08142bfdb69ac8ef90aac1cade378498dd0eca9c.tar.gz | |
Fixes const int error seen on some compilers (see #136)
Added a new test to try to highlight issue.
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_expression_lhs.hpp | 2 | ||||
| -rw-r--r-- | include/internal/catch_version.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/catch_expression_lhs.hpp b/include/internal/catch_expression_lhs.hpp index 7ee8b2ef..edc5dd84 100644 --- a/include/internal/catch_expression_lhs.hpp +++ b/include/internal/catch_expression_lhs.hpp @@ -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 ) { diff --git a/include/internal/catch_version.hpp b/include/internal/catch_version.hpp index 9c293e77..a8172af4 100644 --- a/include/internal/catch_version.hpp +++ b/include/internal/catch_version.hpp @@ -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 |