Skip to content

Commit 5e840e7

Browse files
authored
Update FileLocator_t.cpp
1 parent d97d6ff commit 5e840e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

FWCore/Catalog/test/FileLocator_t.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "FWCore/Catalog/interface/SiteLocalConfig.h"
33
#include "FWCore/Utilities/interface/Exception.h"
44
#include "FWCore/ServiceRegistry/interface/ServiceRegistry.h"
5-
#include <boost/filesystem.hpp>
5+
#include <filesystem>
66

77
#include <string>
88

@@ -46,7 +46,7 @@ TEST_CASE("FileLocator", "[filelocator]") {
4646
std::string CMSSW_BASE(std::getenv("CMSSW_BASE"));
4747
std::string CMSSW_RELEASE_BASE(std::getenv("CMSSW_RELEASE_BASE"));
4848
std::string file_name("/src/FWCore/Catalog/test/simple_catalog.xml");
49-
std::string full_file_name = boost::filesystem::exists((CMSSW_BASE + file_name).c_str())
49+
std::string full_file_name = std::filesystem::exists((CMSSW_BASE + file_name).c_str())
5050
? CMSSW_BASE + file_name
5151
: CMSSW_RELEASE_BASE + file_name;
5252

@@ -84,7 +84,7 @@ TEST_CASE("FileLocator", "[filelocator]") {
8484
edm::ServiceRegistry::Operate operate(tempToken);
8585

8686
std::string override_file_name("/src/FWCore/Catalog/test/override_catalog.xml");
87-
std::string override_full_file_name = boost::filesystem::exists((CMSSW_BASE + override_file_name).c_str())
87+
std::string override_full_file_name = std::filesystem::exists((CMSSW_BASE + override_file_name).c_str())
8888
? CMSSW_BASE + override_file_name
8989
: CMSSW_RELEASE_BASE + override_file_name;
9090

0 commit comments

Comments
 (0)