Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
5626:72dcf3a8d7d5 | 5627:a7c88563c8cc |
---|---|
112 it != end_it; | 112 it != end_it; |
113 ++it) | 113 ++it) |
114 { | 114 { |
115 if (!is_directory(it->status())) | 115 if (!is_directory(it->status())) |
116 { | 116 { |
117 std::string extension = boost::filesystem::extension(it->path()); | 117 std::string extension = it->path().extension().string(); |
118 Toolbox::ToLowerCase(extension); | 118 Toolbox::ToLowerCase(extension); |
119 | 119 |
120 if (extension == ".json") | 120 if (extension == ".json") |
121 { | 121 { |
122 AddFileToConfiguration(target, it->path().string()); | 122 AddFileToConfiguration(target, it->path().string()); |