X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcomparison.hpp;h=eb240d47f9195a16e0a88383a3e87416130f96de;hb=2cc368abe76d52e8c26f883eaa0090f98fcc0a3c;hp=a04038b6c9ab0de7a86708f9f6cbcdc23568a889;hpb=3645e647825396693c46a4de5d9e45dfde54dabd;p=m6w6%2Flibmemcached diff --git a/libtest/comparison.hpp b/libtest/comparison.hpp index a04038b6..eb240d47 100644 --- a/libtest/comparison.hpp +++ b/libtest/comparison.hpp @@ -45,8 +45,8 @@ bool _compare_truth_hint(const char *file, int line, const char *func, T_compara return true; } -template -bool _compare(const char *file, int line, const char *func, const T_comparable __expected, const T_comparable __actual) +template +bool _compare(const char *file, int line, const char *func, const T1_comparable __expected, const T2_comparable __actual) { if (__expected != __actual) { @@ -113,8 +113,8 @@ bool _truth(const char *file, int line, const char *func, T_comparable __truth) return true; } -template -bool _compare_hint(const char *file, int line, const char *func, T_comparable __expected, T_comparable __actual, T_hint __hint) +template +bool _compare_hint(const char *file, int line, const char *func, T1_comparable __expected, T2_comparable __actual, T_hint __hint) { if (__expected != __actual) {