From 2b9a526e463498686cc0a27190019582486b6baf Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Fri, 15 Apr 2016 10:52:37 +0200 Subject: [PATCH] [IO] Remove allRastersExists() from interface. --- FileIO/AsciiRasterInterface.cpp | 4 +++- FileIO/AsciiRasterInterface.h | 4 ---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/FileIO/AsciiRasterInterface.cpp b/FileIO/AsciiRasterInterface.cpp index 3400a123b50..0b601206d83 100644 --- a/FileIO/AsciiRasterInterface.cpp +++ b/FileIO/AsciiRasterInterface.cpp @@ -216,7 +216,9 @@ void AsciiRasterInterface::writeRasterAsASC(GeoLib::Raster const& raster, std::s out.close(); } -bool allRastersExist(std::vector<std::string> const& raster_paths) + +/// Checks if all raster files actually exist +static bool allRastersExist(std::vector<std::string> const& raster_paths) { for (auto raster = raster_paths.begin(); raster != raster_paths.end(); ++raster) diff --git a/FileIO/AsciiRasterInterface.h b/FileIO/AsciiRasterInterface.h index 6f87111b0df..0e46eebaf26 100644 --- a/FileIO/AsciiRasterInterface.h +++ b/FileIO/AsciiRasterInterface.h @@ -56,10 +56,6 @@ private: /// otherwise the returned vector contains pointers to the read rasters. boost::optional<std::vector<GeoLib::Raster const*>> readRasters( std::vector<std::string> const& raster_paths); - -/// Checks if all raster files actually exist -bool allRastersExist(std::vector<std::string> const& raster_paths); - } #endif /* ASCIIRASTERINTERFACE_H_ */ -- GitLab