diff --git a/test/test_nr1.cc b/test/test_nr1.cc index 639c18f..1a8146e 100644 --- a/test/test_nr1.cc +++ b/test/test_nr1.cc @@ -13,34 +13,6 @@ namespace pEp { - char* alloc_str(const std::string& str) - { - char* ret = strdup(str.c_str()); - pEpLog(CXX::Inspect::all(ret)); - return ret; - } - - template - void free(T ptr_type) - { - pEpLog(CXX::Inspect::all(ptr_type)); - ::pEp_free(ptr_type); - } - - template<> - void free(char* ptr_type) - { - pEpLog(CXX::Inspect::all(ptr_type)); - ::pEp_free(ptr_type); - } - - template<> - void free(::pEp_identity* ptr_type) - { - pEpLog(CXX::Inspect::all(ptr_type)); - ::pEp_free(ptr_type); - } - //--------------------------------------------------------------------------------------------- #define EXSTR(msg) std::string(__FUNCTION__) + "() - " + msg