Skip to content
Snippets Groups Projects
Commit bd524a34 authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Merge branch 'develop' into bugfix-1441

parents 316cd8e0 f2876b15
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@
#define otbSoilDataBase_h
#include "OTBSimulationExport.h"
#include "itkMacro.h"
#include <vector>
#include <unordered_map>
#include <string>
......@@ -30,7 +31,7 @@
namespace otb
{
class OTBSimulation_EXPORT SoilDataBase
class ITK_ABI_EXPORT SoilDataBase
{
public:
//wavelength in nm
......
......@@ -104,7 +104,7 @@ size_t SoilDataBase::CountColumns(std::string fileName) const
}
void SoilDataBase::ParseSoilFile()
{
unsigned int number_of_soils = CountColumns(m_SoilFileName) - 1;
auto number_of_soils = CountColumns(m_SoilFileName) - 1;
m_SoilDataVector.resize(number_of_soils);
std::ifstream sdb(m_SoilFileName);
if(! sdb.is_open())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment