diff OrthancServer/Sources/OrthancConfiguration.cpp @ 5627:a7c88563c8cc

fix build with boost 1.85.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 16 May 2024 21:32:55 +0200
parents 48b8dae6dc77
children f7adfb22e20e
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancConfiguration.cpp	Thu May 16 15:31:31 2024 +0200
+++ b/OrthancServer/Sources/OrthancConfiguration.cpp	Thu May 16 21:32:55 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")