We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 87d77a6 + 042c4b2 commit 5a42db3Copy full SHA for 5a42db3
apps/openmw/mwworld/containerstore.hpp
@@ -406,8 +406,7 @@ namespace MWWorld
406
template <class T>
407
ContainerStoreIteratorBase(const ContainerStoreIteratorBase<T>& other)
408
{
409
- char CANNOT_CONVERT_CONST_ITERATOR_TO_ITERATOR[IsConvertible<T, PtrType, void>::value ? 1 : -1];
410
- ((void)CANNOT_CONVERT_CONST_ITERATOR_TO_ITERATOR);
+ static_assert(IsConvertible<T, PtrType, void>::value);
411
copy(other);
412
}
413
0 commit comments