# # # patch "botan/mem_pool.h" # from [8da5c9610df19a389a0188bae97da53a0023cc0d] # to [717eee90347c21cb7be5f4e7c281fab7cfb77be0] # ============================================================ --- botan/mem_pool.h 8da5c9610df19a389a0188bae97da53a0023cc0d +++ botan/mem_pool.h 717eee90347c21cb7be5f4e7c281fab7cfb77be0 @@ -61,6 +61,10 @@ struct diff_less : public std::binary_fu struct diff_less : public std::binary_function<_first,_second,bool> { bool operator()(const _first& __x, const _second& __y) const { return __x < __y; } +#if defined(_MSC_VER) && defined(_DEBUG) + bool operator()(const _second& __y, const _first& __x) const { return __x < __y; } + bool operator()(const _first& __x, const _first& __y) const { return __x < __y; } +#endif }; const u32bit PREF_SIZE, BLOCK_SIZE;