From fde4489e1ddd8bc43068fcc6bddec9fb2be7f82d Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 31 Jan 2018 12:25:30 +0000 Subject: wipeable_string: call memwipe directly since the original reason for the indirect call (that memwipe was not in contrib) is now gone --- contrib/epee/include/wipeable_string.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'contrib/epee/include') diff --git a/contrib/epee/include/wipeable_string.h b/contrib/epee/include/wipeable_string.h index d120112a6..70d1a9586 100644 --- a/contrib/epee/include/wipeable_string.h +++ b/contrib/epee/include/wipeable_string.h @@ -58,13 +58,10 @@ namespace epee wipeable_string &operator=(wipeable_string &&other); wipeable_string &operator=(const wipeable_string &other); - static void set_wipe(void *(*f)(void*, size_t)) { wipefunc = f; } - private: void grow(size_t sz, size_t reserved = 0); private: std::vector buffer; - static void *(*wipefunc)(void*, size_t); }; } -- cgit v1.2.3