Skip to content

Commit 650eb9b

Browse files
committed
VectorTypedDataBinding : Fix gcc debug build
1 parent 801fcda commit 650eb9b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

include/IECorePython/VectorTypedDataBinding.inl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,24 @@
4646

4747
#include <sstream>
4848

49+
#if !defined( NDEBUG ) && defined( __GNUC__ )
50+
51+
namespace boost{
52+
53+
template <>
54+
struct call_traits<half>
55+
{
56+
public:
57+
typedef half value_type;
58+
typedef half& reference;
59+
typedef const half& const_reference;
60+
typedef const half& param_type;
61+
};
62+
63+
}
64+
65+
#endif
66+
4967
namespace IECorePython
5068
{
5169

0 commit comments

Comments
 (0)