Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Framework/Core/include/Framework/AnalysisHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "Framework/TableBuilder.h"
#include "Framework/Traits.h"

#include <fmt/format.h>
#include <string>
namespace o2::framework
{
Expand Down Expand Up @@ -192,11 +193,13 @@ ConcreteDataMatcher replaceOrigin(ConcreteDataMatcher& matcher, const header::Da

namespace o2::soa
{
// fmt::format, not std::string + const char*: GCC 14 turns the latter into a
// spurious -Werror=array-bounds= on the temporary's SSO buffer.
template <TableRef R>
constexpr auto tableRef2ConfigParamSpec()
{
return o2::framework::ConfigParamSpec{
std::string{"input:"} + o2::aod::label<R>(),
fmt::format("input:{}", o2::aod::label<R>()),
framework::VariantType::String,
aod::sourceSpec<R>(),
{"\"\""}};
Expand All @@ -206,7 +209,7 @@ template <TableRef R>
constexpr auto tableRef2Schema()
{
return o2::framework::ConfigParamSpec{
std::string{"input-schema:"} + o2::aod::label<R>(),
fmt::format("input-schema:{}", o2::aod::label<R>()),
framework::VariantType::String,
framework::serializeSchema(o2::aod::MetadataTrait<o2::aod::Hash<R.desc_hash>>::metadata::getSchema()),
{"\"\""}};
Expand Down