Commit ba914d9c authored by Cédric Traizet's avatar Cédric Traizet

BUG: use the new DEMHandler API in Ice

parent 9df40e7f
......@@ -39,7 +39,7 @@ int main(int argc, char* argv[])
char* demdir = getenv("OTB_DEM_DIR");
char* geoidfile = getenv("OTB_GEOID_FILE");
otb::DEMHandler::Pointer demHandler = otb::DEMHandler::Instance();
auto& demHandler = otb::DEMHandler::GetInstance();
if (demdir != nullptr)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment