diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-12-17 13:00:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-12-17 13:00:11 +0200 |
commit | a3a8343051abfe081c5726bb6ac9d44095068d07 (patch) | |
tree | 957528b7b00218968108a75608b173df0cf45be1 /contrib/epee | |
parent | Merge pull request #2877 (diff) | |
parent | Scrub keys from memory just before scope end. (diff) | |
download | monero-a3a8343051abfe081c5726bb6ac9d44095068d07.tar.xz |
Merge pull request #2857
7193b89f Scrub keys from memory just before scope end. (moneromooo-monero)
Diffstat (limited to 'contrib/epee')
-rw-r--r-- | contrib/epee/include/span.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/span.h b/contrib/epee/include/span.h index ea4ba63dd..5660c09d1 100644 --- a/contrib/epee/include/span.h +++ b/contrib/epee/include/span.h @@ -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>`. |