Skip to content

Commit d539a68

Browse files
authored
Merge c697006 into sapling-pr-archive-ktf
2 parents 9b83c81 + c697006 commit d539a68

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Framework/Core/test/test_DataAllocator.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ DataProcessorSpec getSinkSpec()
235235
auto object1 = pc.inputs().get<o2::test::TriviallyCopyable>("input1");
236236
ASSERT_ERROR(object1 == o2::test::TriviallyCopyable(42, 23, 0xdead));
237237
LOG(info) << "extracting span of o2::test::TriviallyCopyable from input1";
238-
auto object1span = pc.inputs().get<gsl::span<o2::test::TriviallyCopyable>>("input1");
238+
auto object1span = pc.inputs().get<std::span<o2::test::TriviallyCopyable>>("input1");
239239
ASSERT_ERROR(object1span.size() == 1);
240240
ASSERT_ERROR(sizeof(typename decltype(object1span)::value_type) == sizeof(o2::test::TriviallyCopyable));
241241
// check the additional header on the stack
@@ -309,7 +309,7 @@ DataProcessorSpec getSinkSpec()
309309
ASSERT_ERROR(object11 == o2::test::TriviallyCopyable(42, 23, 0xdead));
310310

311311
LOG(info) << "extracting the original std::vector<o2::test::TriviallyCopyable> as span from input12";
312-
auto object12 = pc.inputs().get<gsl::span<o2::test::TriviallyCopyable>>("input12");
312+
auto object12 = pc.inputs().get<std::span<o2::test::TriviallyCopyable>>("input12");
313313
ASSERT_ERROR(object12.size() == 2);
314314
ASSERT_ERROR((object12[0] == o2::test::TriviallyCopyable{42, 23, 0xdead}));
315315
ASSERT_ERROR((object12[1] == o2::test::TriviallyCopyable{10, 20, 0xacdc}));
@@ -337,7 +337,7 @@ DataProcessorSpec getSinkSpec()
337337
ASSERT_ERROR(object16[0] == 10 && object16[1] == 20 && object16[2] == 30);
338338

339339
LOG(info) << "extracting PMR vector";
340-
auto pmrspan = pc.inputs().get<gsl::span<o2::test::TriviallyCopyable>>("inputPMR");
340+
auto pmrspan = pc.inputs().get<std::span<o2::test::TriviallyCopyable>>("inputPMR");
341341
ASSERT_ERROR((pmrspan[0] == o2::test::TriviallyCopyable{1, 2, 3}));
342342
auto dataref = pc.inputs().get<DataRef>("inputPMR");
343343
auto header = DataRefUtils::getHeader<const o2::header::DataHeader*>(dataref);
@@ -417,8 +417,8 @@ DataProcessorSpec getSpectatorSinkSpec()
417417
}
418418
}
419419
ASSERT_ERROR(nPart == 3);
420-
LOG(info) << "extracting the forwarded gsl::span<o2::test::TriviallyCopyable> as span from input12";
421-
auto object12 = pc.inputs().get<gsl::span<o2::test::TriviallyCopyable>>("input12");
420+
LOG(info) << "extracting the forwarded std::span<o2::test::TriviallyCopyable> as span from input12";
421+
auto object12 = pc.inputs().get<std::span<o2::test::TriviallyCopyable>>("input12");
422422
ASSERT_ERROR(object12.size() == 2);
423423
ASSERT_ERROR((object12[0] == o2::test::TriviallyCopyable{42, 23, 0xdead}));
424424
ASSERT_ERROR((object12[1] == o2::test::TriviallyCopyable{10, 20, 0xacdc}));

Framework/Core/test/test_FairMQ.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ template <typename I, typename F>
6161
auto forEach(I begin, I end, F&& function)
6262
{
6363

64-
using span = gsl::span<const std::byte>;
64+
using span = std::span<const std::byte>;
6565
using SPAN_SIZE_TYPE = span::size_type;
6666
using gsl::narrow_cast;
6767
for (auto it = begin; it != end; ++it) {

0 commit comments

Comments
 (0)