Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Oct 13, 2023
1 parent 6783187 commit 4636694
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cpp/mrc/include/mrc/segment/builder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ namespace {
namespace hana = boost::hana;

template <typename T>
auto has_source_add_watcher =
hana::is_valid([](auto&& thing) -> decltype(std::forward<decltype(thing)>(thing).source_add_watcher(
std::declval<std::shared_ptr<mrc::WatcherInterface>>())) {});
auto has_source_add_watcher = hana::is_valid(
[](auto&& thing) -> decltype(std::forward<decltype(thing)>(thing).source_add_watcher(
std::declval<std::shared_ptr<mrc::WatcherInterface>>())) {});

template <typename T>
auto has_sink_add_watcher =
hana::is_valid([](auto&& thing) -> decltype(std::forward<decltype(thing)>(thing).sink_add_watcher(
std::declval<std::shared_ptr<mrc::WatcherInterface>>())) {});
auto has_sink_add_watcher = hana::is_valid(
[](auto&& thing) -> decltype(std::forward<decltype(thing)>(thing).sink_add_watcher(
std::declval<std::shared_ptr<mrc::WatcherInterface>>())) {});

template <typename T>
void add_stats_watcher_if_rx_source(T& thing, std::string name)
Expand Down

0 comments on commit 4636694

Please sign in to comment.