Skip to content

Commit

Permalink
Merge pull request #4 from alibuild/alibot-cleanup-13498
Browse files Browse the repository at this point in the history
Please consider the following formatting changes to AliceO2Group#13498
  • Loading branch information
mytkom authored Oct 14, 2024
2 parents bd1ebfa + 2c918a8 commit 123a6d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Framework/Core/include/Framework/ASoA.h
Original file line number Diff line number Diff line change
Expand Up @@ -2021,7 +2021,7 @@ ColumnGetterFunction<R, T> createGetterPtr(const std::string_view& columnLabel)
{
const size_t n = columnLabel.size();

if(n == 0 || n != strlen(C::columnLabel())) {
if (n == 0 || n != strlen(C::columnLabel())) {
return nullptr;
}

Expand All @@ -2033,11 +2033,11 @@ ColumnGetterFunction<R, T> createGetterPtr(const std::string_view& columnLabel)
{
const size_t n = columnLabel.size();

if(n == 0 || n != strlen(C::columnLabel())) {
if (n == 0 || n != strlen(C::columnLabel())) {
return nullptr;
}

return ((std::strncmp(&columnLabel[1], C::columnLabel(), n-1) && std::strncmp(columnLabel.data(), C::columnLabel(), n))) ? nullptr : &getColumnValue<R, T, C>;
return ((std::strncmp(&columnLabel[1], C::columnLabel(), n - 1) && std::strncmp(columnLabel.data(), C::columnLabel(), n))) ? nullptr : &getColumnValue<R, T, C>;
}

template <typename R, typename T, typename... Cs>
Expand Down

0 comments on commit 123a6d8

Please sign in to comment.