Skip to content

Commit

Permalink
fixup! runtime(DataBroker): Add SignalDescriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
clsim committed Oct 23, 2023
1 parent ea0c075 commit 3afd2a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/include/cloe/data_broker.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ class Signal {
explicit access_token(int /*unused*/){};
};

public:
/**
* Getter-function types
*
Expand Down Expand Up @@ -747,6 +748,7 @@ class Signal {
std::function<void(databroker::signal_type_cref_t<T>)>;
using type_erased_on_value_change_event_function_t = std::any;

private:
/// Name(s) of the signal
std::vector<std::string> names_{};
/// std::type_info of the signal
Expand Down Expand Up @@ -1472,9 +1474,7 @@ class DataBroker {
parent[signals_name] = &(*signals_object_);
}

void bind(std::string_view signals_name) {
(*lua_)[signals_name] = &(*signals_object_);
}
void bind(std::string_view signals_name) { (*lua_)[signals_name] = &(*signals_object_); }

public:
/**
Expand Down

0 comments on commit 3afd2a4

Please sign in to comment.