mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
fix(Any): Modifications to fix OSS Fuzz report (#4818)
Changes triggered by the OSS Fuzz report: https://issues.oss-fuzz.com/issues/42538385?pli=1 * fix(Any): set pHolder to nullptr in destruct() * enh(Any): modernised source code. * enh(Any): introduce allocation type (empty, local, external). * chore(Any): Apply suggestions from code review.
This commit is contained in:
@@ -369,10 +369,10 @@ namespace Impl {
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
using EnableSigned = typename std::enable_if< std::is_signed<T>::value >::type*;
|
||||
using EnableSigned = typename std::enable_if_t< std::is_signed<T>::value >*;
|
||||
|
||||
template <typename T>
|
||||
using EnableUnsigned = typename std::enable_if< std::is_unsigned<T>::value >::type*;
|
||||
using EnableUnsigned = typename std::enable_if_t< std::is_unsigned<T>::value >*;
|
||||
|
||||
} // namespace Impl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user