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

Initialize m_null and m_base #7

Closed
wants to merge 1 commit into from
Closed

Conversation

tempoz
Copy link
Contributor

@tempoz tempoz commented Nov 11, 2014

In the cases where we were not initializing m_null and m_base, instead we initialize them to default values. This simplifies the logic around assigning to them significantly and silences Coverity CID10550.

In the cases where we were not initializing m_null and m_base, instead we initialize them to default values. This simplifies the logic around assigning to them significantly and silences Coverity CID10550.
@jzmaddock
Copy link
Collaborator

This breaks https://svn.boost.org/trac/boost/ticket/3632.

Basically you cannot assign from a default-constructed (singular) iterator.

Explicitly default constructing the remaining members will do no harm, but it has no positive effect either except to shut Coverty up of course.

jzmaddock pushed a commit that referenced this pull request Nov 13, 2014
@jzmaddock
Copy link
Collaborator

See ddd4820

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.

2 participants