aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-12-17 13:00:11 +0200
committerRiccardo Spagni <ric@spagni.net>2017-12-17 13:00:11 +0200
commita3a8343051abfe081c5726bb6ac9d44095068d07 (patch)
tree957528b7b00218968108a75608b173df0cf45be1 /contrib/epee
parentMerge pull request #2877 (diff)
parentScrub keys from memory just before scope end. (diff)
downloadmonero-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.h2
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>`.