Skip to content
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

Fix DataStorm filter initialization #3278

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

pepone
Copy link
Member

@pepone pepone commented Dec 17, 2024

This PR fix #2926, and replaces #3277

  • Removed the Filter init method.
  • Updated the Filter constructor to accept the extra arguments previously passed through init.

@@ -142,7 +142,6 @@ namespace DataStormI
virtual ~FilterFactory() = default;

virtual std::shared_ptr<Filter> get(std::int64_t) const = 0;
virtual std::shared_ptr<Filter> decode(const Ice::CommunicatorPtr&, const Ice::ByteSeq&) = 0;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was never called for a FilterFactoryT. But the implementation was preventing us for passing the name and lambda in the FilterT constructor.

@pepone pepone requested a review from externl December 17, 2024 14:02
@pepone pepone merged commit 684221b into zeroc-ice:main Dec 17, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DataStorm/events: Unhandled exception thrown: read access violation.
3 participants