From cb17eaee3a377f800077c9a657ad43278b3b3071 Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Tue, 22 Jan 2013 11:00:07 +0100 Subject: [PATCH] Small changes for compilation with OGS-6. --- Utils/FileConverter/ConvertGliToVtk.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Utils/FileConverter/ConvertGliToVtk.cpp b/Utils/FileConverter/ConvertGliToVtk.cpp index a4b6ae60eeb..2bc32a4fce6 100644 --- a/Utils/FileConverter/ConvertGliToVtk.cpp +++ b/Utils/FileConverter/ConvertGliToVtk.cpp @@ -13,11 +13,11 @@ */ // for backward compatibility, see http://www.boost.org/doc/libs/1_48_0/libs/filesystem/v2/doc/index.htm -#define BOOST_FILESYSTEM_VERSION 2 +#define BOOST_FILESYSTEM_VERSION 3 // ** INCLUDES ** #include "GEOObjects.h" -#include "OGSIOVer4.h" +#include "Legacy/OGSIOVer4.h" #include "Point.h" #include "VtkPointsSource.h" @@ -56,7 +56,7 @@ int main (int argc, char const* argv[]) directory_iterator end; for (directory_iterator it("./"); it != end; ++it) { - string curFile = it->path().filename(); // .string(); + string curFile = it->path().filename().string(); if (regex_match(curFile, e)) filenames.push_back(curFile); -- GitLab