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

Wouldn't ‎DiscoveryDataBase::update second parameter (std::string topic_name) be more appropriate to use const reference? #5175

Closed
1 task done
chunyisong opened this issue Aug 27, 2024 · 1 comment · Fixed by #5179
Labels
in progress Issue or PR which is being reviewed

Comments

@chunyisong
Copy link

chunyisong commented Aug 27, 2024

Is there an already existing issue for this?

  • I have searched the existing issues

Expected behavior

bool update(CacheChange_t* change, const std::string& topic_name);

Current behavior

bool update(CacheChange_t* change, std::string topic_name);

Steps to reproduce

bool update(CacheChange_t* change, std::string topic_name);

Fast DDS version/commit

v3.0.0

Platform/Architecture

Ubuntu Focal 20.04 amd64, Windows 10 Visual Studio 2019

Transport layer

Default configuration, UDPv4 & SHM, TCPv4, Shared Memory Transport (SHM)

Additional context

No response

XML configuration file

No response

Relevant log output

No response

Network traffic capture

No response

@chunyisong chunyisong added the triage Issue pending classification label Aug 27, 2024
@JesusPoderoso
Copy link
Contributor

Hi @chunyisong, thanks for your report.
I've opened a PR with the fix

@JesusPoderoso JesusPoderoso added in progress Issue or PR which is being reviewed and removed triage Issue pending classification labels Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress Issue or PR which is being reviewed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@chunyisong @JesusPoderoso and others