From 1870664154f8cb1760774b27497ff377f3791c6d Mon Sep 17 00:00:00 2001 From: nyoungbq Date: Fri, 19 Apr 2024 11:49:54 -0400 Subject: [PATCH] fix implict type conversion for msvc --- .../src/ITKImageProcessing/Filters/ITKImageWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/ITKImageProcessing/src/ITKImageProcessing/Filters/ITKImageWriter.cpp b/src/Plugins/ITKImageProcessing/src/ITKImageProcessing/Filters/ITKImageWriter.cpp index f6f8f441a3..c277072aeb 100644 --- a/src/Plugins/ITKImageProcessing/src/ITKImageProcessing/Filters/ITKImageWriter.cpp +++ b/src/Plugins/ITKImageProcessing/src/ITKImageProcessing/Filters/ITKImageWriter.cpp @@ -50,7 +50,7 @@ bool Is2DFormat(const fs::path& fileName) template Result<> WriteAsOneFile(itk::Image& image, const fs::path& filePath /*, const IFilter::MessageHandler& messanger*/) { - AtomicFile atomicFile(filePath); + AtomicFile atomicFile(filePath.string()); auto tempPath = atomicFile.tempFilePath(); try {