Made macroName and capturedExpression StringRefs

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

No files matched your search

+3 -2
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;