From 6730933820b3c3f7b016b4d33a209198d195a37a Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 6 Jan 2020 12:26:39 +0100 Subject: [PATCH] c++: references cannot be NULL --- libtest/comparison.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtest/comparison.hpp b/libtest/comparison.hpp index c67bc33f..9a7d81c0 100644 --- a/libtest/comparison.hpp +++ b/libtest/comparison.hpp @@ -91,7 +91,7 @@ bool _compare(const char *file, int line, const char *func, const T1_comparable& } template -bool _compare_strcmp(const char *file, int line, const char *func, const T1_comparable& __expected, const T2_comparable& __actual) +bool _compare_strcmp(const char *file, int line, const char *func, const T1_comparable *__expected, const T2_comparable *__actual) { if (__expected == NULL) { -- 2.30.2