Skip to content

Commit 5ff81f9

Browse files
committed
fixup! BoxVectorData : Add buffer protocol support
1 parent 902bc57 commit 5ff81f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IECorePython/VectorTypedDataBinding.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ constexpr std::pair<const char *, Py_ssize_t> typeInfo()
105105
else if constexpr( IECore::TypeTraits::IsBox<T>::value )
106106
{
107107
using ElementType = decltype( T::min );
108-
return { PythonType<typename ElementType::BaseType>::value(), sizeof( ElementType::BaseType ) };
108+
return { PythonType<typename ElementType::BaseType>::value(), sizeof( typename ElementType::BaseType ) };
109109
}
110110
else
111111
{

0 commit comments

Comments
 (0)