Skip to content

Commit e5d7cfd

Browse files
committed
fix typos
1 parent a37f0ad commit e5d7cfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/reactor-cpp/connection.hh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ public:
4646

4747
template <class T> class BaseDelayedConnection : public Connection<T> {
4848
public:
49-
BaseDelayedConnection(const std::string& name, Reactor* container, bool is_physical, Duration delay)
50-
: Connection<T>(name, container, is_physical, delay) {}
49+
BaseDelayedConnection(const std::string& name, Reactor* container, bool is_logical, Duration delay)
50+
: Connection<T>(name, container, is_logical, delay) {}
5151

5252
inline auto upstream_set_callback() noexcept -> PortCallback override {
5353
return [this](const BasePort& port) {
54-
// We know that port must be of type Port<T>*
54+
// We know that port must be of type Port<T>
5555
auto& typed_port = reinterpret_cast<const Port<T>&>(port); // NOLINT
5656
if constexpr (std::is_same<T, void>::value) {
5757
this->schedule();

0 commit comments

Comments
 (0)