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

ValueDispatcher assumes pointer is KeyOnly #4606

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

jrw972
Copy link
Contributor

@jrw972 jrw972 commented Apr 26, 2024

Problem

The ValueDispatcher code assumes the value indicated by the void* is a KeyOnly. This is incorrect as the void is a T*.

Solution

Assume the void* is a T* and construct the KeyOnly.

Problem
-------

The ValueDispatcher code assumes the value indicated by the void*
is a KeyOnly<T>*.  This is incorrect as the void* is a T*.

Solution
--------

Assume the void* is a T* and construct the KeyOnly.
Copy link
Member

@sonndinh sonndinh left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this.

@jrw972 jrw972 marked this pull request as ready for review April 29, 2024 16:22
@jrw972 jrw972 merged commit 3afd105 into OpenDDS:master Apr 29, 2024
129 of 132 checks passed
@jrw972 jrw972 deleted the value-dispatcher-pointers branch April 29, 2024 18:04
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.

None yet

2 participants