-
Notifications
You must be signed in to change notification settings - Fork 0
RB-423 removing unnecessary data structures #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| } | ||
| } | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove space
| void receive_data(std::unique_ptr<BaseMessage> msg, size_t port_index) override { | ||
| try { | ||
| Operator::receive_data(std::move(msg), port_index); | ||
| Operator::receive_data(std::move(msg), port_index); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not real change on this file but bad formatting
| class Operator { | ||
| public: | ||
| Operator(std::string id) : id_(std::move(id)) {} | ||
| Operator(std::string id) : id_(std::move(id)), max_size_per_port_(17280) {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove hard coded 17280, use #define MAX_SIZE_PER_PORT 10000 or similar.
| } | ||
| demux->execute(); | ||
|
|
||
| THEN("Message is routed to both ports") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure this is the behaviour we want.
|
|
||
| double get_default_value() const { return default_value_; } | ||
|
|
||
| Bytes collect() override { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we need this serialization?
No description provided.