From 5510df2ffb7f917c8ee1bd24ba01ac723a1a7953 Mon Sep 17 00:00:00 2001 From: Guillaume Pasero <guillaume.pasero@c-s.fr> Date: Sat, 13 Apr 2019 12:13:55 +0200 Subject: [PATCH] STYLE: remove commented code --- .../include/otbWrapperInputImageParameter.hxx | 10 ---------- Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt | 7 ------- 2 files changed, 17 deletions(-) diff --git a/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.hxx b/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.hxx index 7991140d5c..37ffbd7efa 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 fdda646a9d..fb220c564f 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) -- GitLab