avoid warning

This commit is contained in:
Sébastien Loriot 2023-04-12 08:59:19 +02:00
parent 662534e8f3
commit 9f33e64643
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ void convert_itk_to_image_3(itk::Image<Image_word_type, 3>* const itk_img,
itk_img->GetBufferPointer() + size,
img_ptr);
if(filename != "")
if(!std::string(filename).empty())
_writeImage(img, filename);
}
#endif