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

NameManager::removeEntries calls a function that does not exist #554

Closed
mkoval opened this issue Nov 11, 2015 · 1 comment
Closed

NameManager::removeEntries calls a function that does not exist #554

mkoval opened this issue Nov 11, 2015 · 1 comment
Milestone

Comments

@mkoval
Copy link
Collaborator

mkoval commented Nov 11, 2015

I got this error when calling removeEntries on NameManager:

dart/common/detail/NameManager.h:203:21: error: too many arguments to function
      call, expected single argument '_name', have 2 arguments
  removeName(_name, false);
  ~~~~~~~~~~        ^~~~~

I checked the source code and found that removeName does indeed have the function signature:

template <class T>
bool NameManager<T>::removeName(const std::string& _name)

I suspect that we never saw this before because NameManager is a template class and removeEntries is only instantiated when first referenced.

jslee02 added a commit that referenced this issue Dec 5, 2015
@jslee02 jslee02 added this to the DART 6.0.0 milestone Dec 5, 2015
@jslee02
Copy link
Member

jslee02 commented Dec 13, 2015

I believe this is resolved by #564.

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

No branches or pull requests

2 participants