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

lazy_ptr: fix calling to undefined function #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhoumin2
Copy link

@zhoumin2 zhoumin2 commented Mar 12, 2024

The function Init() called by the one of constructors of lazy_ptr is undefined. That constructor is not used by other code so that the compiler doesn't complain. This patch replaces the Init() with the member function of reset().

#183

The function Init() called by the one of constructors of lazy_ptr
is undefined. That constructor is not used by other code so that the
compiler doesn't complain. This patch replaces the Init() with the
member function of reset().

Signed-off-by: Min Zhou <[email protected]>
@shwetagkhatri shwetagkhatri self-assigned this Mar 22, 2024
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