diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-31 12:25:30 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-31 12:25:30 +0000 |
commit | fde4489e1ddd8bc43068fcc6bddec9fb2be7f82d (patch) | |
tree | 86a527fe82c560c641e3db377eb7b747b86da733 /contrib/epee/include/wipeable_string.h | |
parent | Merge pull request #3198 (diff) | |
download | monero-fde4489e1ddd8bc43068fcc6bddec9fb2be7f82d.tar.xz |
wipeable_string: call memwipe directly
since the original reason for the indirect call (that memwipe
was not in contrib) is now gone
Diffstat (limited to 'contrib/epee/include/wipeable_string.h')
-rw-r--r-- | contrib/epee/include/wipeable_string.h | 3 |
1 files changed, 0 insertions, 3 deletions
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<char> buffer; - static void *(*wipefunc)(void*, size_t); }; } |