From d63cb0943f3b2b1e1e3e82c42d539e78e2d496e3 Mon Sep 17 00:00:00 2001 From: Tadas Baltrusaitis Date: Fri, 2 Feb 2018 20:39:59 +0000 Subject: [PATCH] Fix the separators --- lib/local/Utilities/src/RecorderOpenFace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/local/Utilities/src/RecorderOpenFace.cpp b/lib/local/Utilities/src/RecorderOpenFace.cpp index 62ca86d..2ec7852 100644 --- a/lib/local/Utilities/src/RecorderOpenFace.cpp +++ b/lib/local/Utilities/src/RecorderOpenFace.cpp @@ -59,8 +59,8 @@ void CreateDirectory(std::string output_path) // Creating the right directory structure auto p = path(output_path); - // Deal with a case where directory ends with a / or \\ - p.remove_trailing_separator(); + // Deal with a case where directory ends with a \\ or / + p = p.remove_trailing_separator(); if (!boost::filesystem::exists(p)) {