mirror of
https://github.com/monero-project/monero.git
synced 2025-08-03 13:54:25 -04:00
Merge pull request #2857
7193b89f
Scrub keys from memory just before scope end. (moneromooo-monero)
This commit is contained in:
commit
a3a8343051
6 changed files with 60 additions and 23 deletions
|
@ -108,7 +108,7 @@ namespace epee
|
|||
template<typename T>
|
||||
constexpr bool has_padding() noexcept
|
||||
{
|
||||
return !std::is_pod<T>() || alignof(T) != 1;
|
||||
return !std::is_pod<T>::value || alignof(T) != 1;
|
||||
}
|
||||
|
||||
//! \return Cast data from `src` as `span<const std::uint8_t>`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue