Removed redundant .c_str()s from StringRef usages

This commit is contained in:
Phil Nash
2017-08-14 08:54:57 +01:00
parent fa3535e95e
commit ece64c3b3a
9 changed files with 24 additions and 17 deletions

View File

@@ -53,7 +53,7 @@ namespace Catch {
BinaryExpr( bool comparisionResult, LhsT lhs, StringRef op, RhsT rhs )
: m_result( comparisionResult ),
m_lhs( lhs ),
m_op( op.c_str() ),
m_op( op ),
m_rhs( rhs )
{}
};