Skip to content

Commit 2b575ed

Browse files
committed
[MCH] replace std::format() with fmt::format()
1 parent e51f1d3 commit 2b575ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/MUON/MCH/DigitFiltering/src/DigitModifier.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
#include "DataFormatsMCH/Digit.h"
1515
#include "MCHMappingInterface/Segmentation.h"
16+
#include <fmt/format.h>
1617
#include <functional>
1718
#include <array>
1819
#include <unordered_map>
19-
#include <format>
2020
#include <stdexcept>
2121

2222
namespace
@@ -49,7 +49,7 @@ void initST2PadsRemappingTable(std::unordered_map<int, std::unordered_map<int, i
4949
if (padId < 0) {
5050
// this should never occur in this specific case, as all channels of this group of boards
5151
// is connected to pads, hence we rise an exception
52-
throw std::out_of_range(std::format("Unknown padId for DE{} DS{} channel {}", deId, dsId, channel));
52+
throw std::out_of_range(fmt::format("Unknown padId for DE{} DS{} channel {}", deId, dsId, channel));
5353
}
5454
if (padIdMin < 0 || padId < padIdMin) {
5555
padIdMin = padId;

0 commit comments

Comments
 (0)