Skip to content

Commit

Permalink
Merge branch 'main' into improve_metric_some
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored Aug 12, 2024
2 parents e636a19 + 092548d commit 579bf3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/ylt/struct_pack/reflection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,10 +593,10 @@ template <typename T, typename = void>
template<typename T>
constexpr decltype(auto) delay_sp_config_eval() {
if constexpr (sizeof(T)==0) {
return (T*){};
return (T*)nullptr;
}
else {
return (sp_config*){};
return (sp_config*)nullptr;
}
}

Expand Down

0 comments on commit 579bf3a

Please sign in to comment.