Skip to content
Snippets Groups Projects
Commit 9a38d17b authored by Julien Michel's avatar Julien Michel
Browse files

correction runtime erreur windows

parent 377d0f92
Branches
Tags
No related merge requests found
......@@ -26,7 +26,6 @@ namespace otb
::DEMHandler()
{
m_ElevManager=ossimElevManager::instance();
m_Mutex.Unlock();
}
......@@ -46,11 +45,10 @@ namespace otb
m_Mutex.Lock();
ossimFilename ossimDEMDir;
ossimDEMDir=ossimFilename(DEMDirectory);
if (!m_ElevManager->openDirectory(ossimDEMDir))
{
m_Mutex.Unlock();
itkExceptionMacro("Not possible to open DEM Directory");
itkExceptionMacro("Failed to open DEM Directory: "<<ossimDEMDir);
}
m_Mutex.Unlock();
}
......
......@@ -52,7 +52,8 @@ ImageGeometryHandler::ImageGeometryHandler()
/***************************/
ImageGeometryHandler::~ImageGeometryHandler()
{
delete handler;
//Not needed since we use the instance method
//delete handler;
}
/***************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment