Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Apr 13, 2024
1 parent d87be4e commit cb9551a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/tao/pq/internal/aggregate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ namespace tao::pq::internal
else {
constexpr auto cnt = count_aggregate_args< T >;
if constexpr( cnt == 1 ) {
return std::tie( value );
const auto& [ a ] = value;
return std::tie( a );
}
else if constexpr( cnt == 2 ) {
const auto& [ a, b ] = value;
Expand Down

0 comments on commit cb9551a

Please sign in to comment.