Skip to content

Commit

Permalink
Fix build error with clang (#183)
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova authored Nov 1, 2024
1 parent 8bf052f commit 8420811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/realtime_tools/realtime_box_best_effort.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class RealtimeBoxBestEffort
template <typename U = T>
constexpr RealtimeBoxBestEffort(
const std::initializer_list<U> & init,
std::enable_if_t<std::is_constructible_v<U, std::initializer_list>>)
std::enable_if_t<std::is_constructible_v<U, std::initializer_list<U>>>)
: value_(init)
{
}
Expand Down

0 comments on commit 8420811

Please sign in to comment.