From 19f8f4b22e875d0e788fdbd5fcf280891463fee0 Mon Sep 17 00:00:00 2001 From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org> Date: Thu, 5 May 2011 00:22:01 -0700 Subject: [PATCH] ENH: clean up code, remove ossim include --- Projections/otbConvertCartoToGeoPoint.cxx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/Projections/otbConvertCartoToGeoPoint.cxx b/Projections/otbConvertCartoToGeoPoint.cxx index c2dada44eb..637f080e10 100644 --- a/Projections/otbConvertCartoToGeoPoint.cxx +++ b/Projections/otbConvertCartoToGeoPoint.cxx @@ -16,11 +16,6 @@ =========================================================================*/ - -#if defined(_MSC_VER) -#pragma warning ( disable : 4786 ) -#endif - #include <iostream> #include <iomanip> @@ -33,16 +28,12 @@ #include "itkExceptionObject.h" #include "itkMacro.h" -#include "init/ossimInit.h" - - template<typename TMapProjection> -int generic_main_carto_geo(TMapProjection* mapProjection, otb::CommandLineArgumentParseResult* parseResult) +int generic_main_carto_geo(TMapProjection* mapProjection, + otb::CommandLineArgumentParseResult* parseResult) { - try { - typedef TMapProjection MapProjectionType; typename MapProjectionType::InputPointType cartoPoint; @@ -98,8 +89,6 @@ int main(int argc, char* argv[]) { try { - ossimInit::instance()->initialize(argc, argv); - // Parse command line parameters typedef otb::CommandLineArgumentParser ParserType; ParserType::Pointer parser = ParserType::New(); -- GitLab