Skip to content

Commit 301e4bd

Browse files
committed
build(wrapping): Fix missing wrapped type for itkWasmTransformIO
Only templated variants for double and float are available, so alias to the double version of transforms for wrapping. ITK/build-python/Wrapping/castxml_inputs/itkWasmTransformIO.cxx:26:39: error: no type named 'WasmTransformIO' in namespace 'itk' 26 | using itkWasmTransformIO=itk::WasmTransformIO; | ~~~~~^
1 parent e0f4a93 commit 301e4bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/itkWasmTransformIO.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ ITK_GCC_PRAGMA_DIAG(ignored "-Wattributes")
147147

148148
extern template class WebAssemblyInterface_EXPORT_EXPLICIT WasmTransformIOTemplate<double>;
149149
extern template class WebAssemblyInterface_EXPORT_EXPLICIT WasmTransformIOTemplate<float>;
150+
using WasmTransformIO = WasmTransformIOTemplate<double>;
150151

151152
ITK_GCC_PRAGMA_DIAG_POP()
152153

0 commit comments

Comments
 (0)