From: Michael Wallner Date: Mon, 6 Jan 2020 11:26:39 +0000 (+0100) Subject: c++: references cannot be NULL X-Git-Tag: pre_cmake~87 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6730933820b3c3f7b016b4d33a209198d195a37a;p=awesomized%2Flibmemcached c++: references cannot be NULL --- 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) {