Skip to content

Commit 8d02be5

Browse files
committed
Disable conversion warnings for Half.h
Signed-off-by: Nick Avramoussis <[email protected]>
1 parent d07714b commit 8d02be5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openvdb/openvdb/math/Half.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,8 @@
177177
#include <openvdb/version.h>
178178
#include <iostream>
179179

180+
OPENVDB_NO_TYPE_CONVERSION_WARNING_BEGIN
181+
180182
#if defined(_WIN32)
181183
#include <intrin.h>
182184
#elif defined(__x86_64__)
@@ -980,4 +982,6 @@ template <> class numeric_limits<openvdb::math::internal::half>
980982

981983
} // namespace std
982984

985+
OPENVDB_NO_TYPE_CONVERSION_WARNING_END
986+
983987
#endif // OPENVDB_MATH_HALF_HAS_BEEN_INCLUDED

0 commit comments

Comments
 (0)