From 79d04cc7f5c9ac1282574f2bee3dd6c2b643de37 Mon Sep 17 00:00:00 2001 From: michelerenzullo Date: Wed, 17 Mar 2021 21:42:17 +0100 Subject: [PATCH] visual c++ compiler as default --- XMPConverter/XMPConverter.vcxproj | 10 +++++----- XMPConverter/XMPconverter.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/XMPConverter/XMPConverter.vcxproj b/XMPConverter/XMPConverter.vcxproj index 76639ef..31d0327 100644 --- a/XMPConverter/XMPConverter.vcxproj +++ b/XMPConverter/XMPConverter.vcxproj @@ -29,27 +29,27 @@ Application true - Intel C++ Compiler 2021 + v142 Unicode Application false - Intel C++ Compiler 2021 + v142 true Unicode Application true - Intel C++ Compiler 2021 + v142 Unicode true Application false - Intel C++ Compiler 2021 + v142 true Unicode false @@ -147,7 +147,7 @@ Size MultiThreaded false - MinSpace + MaxSpeed true Cpp20Support true diff --git a/XMPConverter/XMPconverter.cpp b/XMPConverter/XMPconverter.cpp index 38d485e..f740590 100644 --- a/XMPConverter/XMPconverter.cpp +++ b/XMPConverter/XMPconverter.cpp @@ -544,8 +544,8 @@ int main(int argc, char** argv) { auto t1 = std::chrono::high_resolution_clock::now(); //tbb::parallel_for_each(inputFiles.begin(), inputFiles.end(), [&](string& inputFile) { for_each(std::execution::par, inputFiles.begin(), inputFiles.end(), [&](string& inputFile) { - //#pragma omp parallel for - //for (const auto& inputFile : inputFiles) { + //#pragma omp parallel for + //for (const auto& inputFile : inputFiles) { if (fileExists(inputFile)) { string filecheck = inputFile.substr(inputFile.find_last_of(".") + 1);