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

Avoid problems with template method inlining. [7601] #1009

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

MiguelCompany
Copy link
Member

@MiguelCompany MiguelCompany commented Feb 13, 2020

This fixes #1007 by making the template method EDPSimple::serialize_proxy_data private and adding two protected proxy methods for the two possible instantiations of the template.

NOTE: CI jobs have been updated to build on release mode

@MiguelCompany MiguelCompany changed the title Avoid problems with template method inlining. Avoid problems with template method inlining. [7601] Feb 13, 2020
Copy link
Contributor

@IkerLuengo IkerLuengo left a comment

Choose a reason for hiding this comment

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

LGTM

@richiware
Copy link
Member

Build status:

  • Linux Build Status
  • Mac Build Status
  • Windows Build Status

@MiguelCompany MiguelCompany merged commit 34c81e6 into 1.9.x Feb 13, 2020
@MiguelCompany MiguelCompany deleted the hotfix/issue_1007 branch February 13, 2020 09:36
IkerLuengo added a commit that referenced this pull request Mar 4, 2020
MiguelCompany added a commit that referenced this pull request Mar 5, 2020
* Reduce builtin endpoints memory consumption

This is a port of #918 from 1.9.x

* Refs #6971. Reducing default builtin history size.

* Refs #6971. Default memory policy to preallocated with realloc.

* Refs #6971. EDP listeners: remove change from history before releasing lock.

* Refs #6971. Reducing EDP readers history.

* Refs #6971. WLP not creating secure endpoint when not necessary.

* Refs #6971. Improving WLP history.

* Refs #6971. Correctly setting DATA(p) serialized size.

* Refs #6971. Taking sentinel into account.

* Refs #6971. Fixed comparison on addParameterSentinel.

* Refs #6971. Fixed WLP destructor.

* Refs #6971. Uncrustify EDPSimple and children.

* Refs #6971. Joining common code serializing a WriterProxyData.

* Refs #6971. Templating for both proxy datas.

* Refs #6971. Use templated code for ReaderProxyData.

* Refs #6971. Adding basic get_serialized_size() methods.

* Refs #6971. Parameter_t::addToCDRMessage made const.

* Refs #6971. Added method cdr_serialized_size() to Parameter_t

* Refs #6971. Updating ParticipantProxyData

* Refs #6971. ReaderProxyData calculating serialization size.

* Refs #6971. WriterProxyData calculating serialization size.

* Refs #6971. Fixing mocks.

* Refs #6971. Fixing warnings.

* Refs #7035. Adressing review comments.

* Refs #7035. Fixing EDP listeners.

* Avoid problems with template method inlining.

This is a port of #1009 from 1.9.x

* Apply review suggestions
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.

3 participants