Skip to content

Commit

Permalink
Merge pull request #26548 from Dr15Jones/gcc9DQMFileSaverPB
Browse files Browse the repository at this point in the history
Use brace initialization in DQMFileSaverPB
  • Loading branch information
cmsbuild committed Apr 26, 2019
2 parents 669d289 + 42995e9 commit a64e0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DQMServices/FileIO/plugins/DQMFileSaverPB.cc
Expand Up @@ -164,7 +164,7 @@ DQMFileSaverPB::fillJson(int run, int lumi, const std::string& dataFilePathName,
pt.put("definition", "/fakeDefinition.jsn");
} else {
// The availability test of the EvFDaqDirector Service was done in the ctor.
bfs::path outJsonDefName(edm::Service<evf::EvFDaqDirector>()->baseRunDir()); //we assume this file is written bu the EvF Output module
bfs::path outJsonDefName{edm::Service<evf::EvFDaqDirector>()->baseRunDir()}; //we assume this file is written bu the EvF Output module
outJsonDefName /= (std::string("output_") + oss_pid.str() + std::string(".jsd"));
pt.put("definition", outJsonDefName.string());
}
Expand Down

0 comments on commit a64e0e6

Please sign in to comment.