Made macroName and capturedExpression StringRefs

This commit is contained in:
Phil Nash
2017-08-08 01:22:21 +01:00
parent 59f9bcf1ed
commit f8148ebae1
5 changed files with 16 additions and 15 deletions

View File

@@ -11,6 +11,7 @@
#include <string>
#include "catch_result_type.h"
#include "catch_common.h"
#include "catch_stringref.h"
namespace Catch {
@@ -39,9 +40,9 @@ namespace Catch {
struct AssertionInfo
{
char const * macroName;
StringRef macroName;
SourceLineInfo lineInfo;
char const * capturedExpression;
StringRef capturedExpression;
ResultDisposition::Flags resultDisposition;
AssertionInfo() = delete;