diff --git a/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.hxx b/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.hxx index 7991140d5cc3bd007bf696257168a00afa0120e9..37ffbd7efae807466a60d05f708ea29ac271c49f 100644 --- a/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.hxx +++ b/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.hxx @@ -84,16 +84,6 @@ TOutputImage * InputImageParameter ::Cast( TInputImage * image ) { - // // Optimize pipeline if input-image can be directly cast into - // // output-image. - // { - // auto img = dynamic_cast< TOutputImage * >( image ); - - // if( img ) - // return img; - // } - - details::CastImage< TOutputImage, TInputImage > clamp( image ); if( clamp.ocif ) diff --git a/Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt b/Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt index fdda646a9d7edbf1e338c96093ace63561810487..fb220c564fbe628d9e9469f6f3f438352caa6454 100644 --- a/Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt +++ b/Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt @@ -81,11 +81,4 @@ target_link_libraries(OTBApplicationEngine ${OTBMPIVrtWriter_LIBRARIES} ) -# target_compile_options( -# OTBApplicationEngine -# # PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-Q> -# PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-ftime-report> -# # PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-E> -# ) - otb_module_target(OTBApplicationEngine)