X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libtest%2Fcomparison.hpp;h=eb240d47f9195a16e0a88383a3e87416130f96de;hb=1170b1b371ce7bdb50e8e7ae887687f5a45f81b9;hp=a04038b6c9ab0de7a86708f9f6cbcdc23568a889;hpb=60c68bea5d034012f935eb849d92781c345c7214;p=awesomized%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) {