From 0e8deda4a3a4907a8da422a9915c87a61bea553d Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Fri, 22 Mar 2024 11:34:21 +0100 Subject: [PATCH] Remove remaining debug printings in vpIoTools --- modules/core/src/tools/file/vpIoTools.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/core/src/tools/file/vpIoTools.cpp b/modules/core/src/tools/file/vpIoTools.cpp index f02b4279b5..7492fe3eab 100644 --- a/modules/core/src/tools/file/vpIoTools.cpp +++ b/modules/core/src/tools/file/vpIoTools.cpp @@ -832,20 +832,15 @@ bool vpIoTools::checkDirectory(const std::string &dirname) std::string _dirname = path(dirname); if (VP_STAT(_dirname.c_str(), &stbuf) != 0) { - std::cout << "DEBUG 1 _dirname: " << _dirname << " is not a dir" << std::endl; // Test adding the separator if not already present if (_dirname.at(_dirname.size() - 1) != separator) { - std::cout << "DEBUG 2 test if _dirname + separator: " << _dirname + separator << " is a dir ?" << std::endl; if (VP_STAT((_dirname + separator).c_str(), &stbuf) != 0) { - std::cout << "DEBUG 2 _dirname + separator: " << _dirname + separator << " is not a dir" << std::endl; return false; } } // Test removing the separator if already present if (_dirname.at(_dirname.size() - 1) == separator) { - std::cout << "DEBUG 2 test if _dirname - separator: " << _dirname.substr(0, _dirname.size() - 1) << " is a dir ?" << std::endl; if (VP_STAT((_dirname.substr(0, _dirname.size() - 1)).c_str(), &stbuf) != 0) { - std::cout << "DEBUG 3 _dirname - separator: " << _dirname.substr(0, _dirname.size() - 1) << " is not a dir" << std::endl; return false; } }