From eef072234ecefae509f72c136fc6ed3529be3376 Mon Sep 17 00:00:00 2001 From: Tomonobu Saito Date: Fri, 4 Oct 2019 15:14:20 +0900 Subject: [PATCH] update delim chars --- include/extractor/raster_source.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/extractor/raster_source.hpp b/include/extractor/raster_source.hpp index c1c8d138d..2ed08345b 100755 --- a/include/extractor/raster_source.hpp +++ b/include/extractor/raster_source.hpp @@ -47,8 +47,6 @@ class RasterGrid public: RasterGrid(const boost::filesystem::path &filepath, std::size_t _xdim, std::size_t _ydim) { - util::Log() << " filepath : " << filepath; - xdim = _xdim; ydim = _ydim; _data.reserve(ydim * xdim); @@ -66,7 +64,7 @@ class RasterGrid boost::algorithm::trim(buf); std::vector result; - std::string delim (" "); + std::string delim (" \r\n\0"); boost::split(result, buf, boost::is_any_of(delim), boost::algorithm::token_compress_on); //boost::split(result, buf, boost::is_any_of(delim)); unsigned int x = 0;