Skip to content

Commit 890ddb4

Browse files
committed
DPL: cleanup gsl usage in DataRelayer
1 parent 2109283 commit 890ddb4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Framework/Core/src/DataRelayer.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#endif
5353
#include <fmt/format.h>
5454
#include <fmt/ostream.h>
55-
#include <gsl/span>
55+
#include <span>
5656
#include <string>
5757

5858
using namespace o2::framework::data_matcher;
@@ -191,7 +191,7 @@ DataRelayer::ActivityStats DataRelayer::processDanglingInputs(std::vector<Expira
191191
continue;
192192
}
193193

194-
auto getPartialRecord = [&cache = mCache, numInputTypes = mDistinctRoutesIndex.size()](int li) -> gsl::span<MessageSet const> {
194+
auto getPartialRecord = [&cache = mCache, numInputTypes = mDistinctRoutesIndex.size()](int li) -> std::span<MessageSet const> {
195195
auto offset = li * numInputTypes;
196196
assert(cache.size() >= offset + numInputTypes);
197197
auto const start = cache.data() + offset;
@@ -710,7 +710,7 @@ void DataRelayer::getReadyToProcess(std::vector<DataRelayer::RecordAction>& comp
710710
//
711711
// We use this to bail out early from the check as soon as we find something
712712
// which we know is not complete.
713-
auto getPartialRecord = [&cache, &numInputTypes](int li) -> gsl::span<MessageSet const> {
713+
auto getPartialRecord = [&cache, &numInputTypes](int li) -> std::span<MessageSet const> {
714714
auto offset = li * numInputTypes;
715715
assert(cache.size() >= offset + numInputTypes);
716716
auto const start = cache.data() + offset;

0 commit comments

Comments
 (0)