Port PR 15475 (#15483)
This commit is contained in:
parent
de1631d67d
commit
1935f3504d
@ -518,13 +518,13 @@ private:
|
||||
if (!std::is_same<T, StorageDataType>::value) {
|
||||
OPENVINO_ASSERT(!std::numeric_limits<T>::is_signed ||
|
||||
std::numeric_limits<StorageDataType>::lowest() <= value);
|
||||
OPENVINO_ASSERT(value <= std::numeric_limits<StorageDataType>::max());
|
||||
OPENVINO_ASSERT(std::numeric_limits<StorageDataType>::max() >= value);
|
||||
}
|
||||
#if defined(_MSC_VER)
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
#ifdef __clang__
|
||||
# pragma GangC diagnostic pop
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
# pragma GCC diagnostic pop
|
||||
|
Loading…
Reference in New Issue
Block a user