diff OrthancServer/Sources/OrthancConfiguration.cpp @ 5633:5db4ed395d81

merge
author Alain Mazy <am@orthanc.team>
date Tue, 21 May 2024 12:28:21 +0200
parents a7c88563c8cc
children f7adfb22e20e
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancConfiguration.cpp	Tue May 21 12:27:07 2024 +0200
+++ b/OrthancServer/Sources/OrthancConfiguration.cpp	Tue May 21 12:28:21 2024 +0200
@@ -114,7 +114,7 @@
     {
       if (!is_directory(it->status()))
       {
-        std::string extension = boost::filesystem::extension(it->path());
+        std::string extension = it->path().extension().string();
         Toolbox::ToLowerCase(extension);
 
         if (extension == ".json")