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

error: no template named 'unordered_map' in namespace 'std'; did you mean 'unordered_set'? #2015

Closed
yurivict opened this issue Jun 11, 2023 · 0 comments

Comments

@yurivict
Copy link

Build fails:

In file included from /wrkdirs/usr/ports/devel/folly/work/folly-2023.06.08.00/folly/experimental/symbolizer/DwarfLineNumberVM.cpp:17:
In file included from /wrkdirs/usr/ports/devel/folly/work/folly-2023.06.08.00/folly/experimental/symbolizer/DwarfLineNumberVM.h:20:
In file included from /wrkdirs/usr/ports/devel/folly/work/folly-2023.06.08.00/folly/experimental/symbolizer/DwarfUtil.h:25:
/wrkdirs/usr/ports/devel/folly/work/folly-2023.06.08.00/folly/experimental/symbolizer/Elf.h:273:8: error: no template named 'unordered_map' in namespace 'std'; did you mean 'unordered_set'?
  std::unordered_map<std::string, Symbol> getSymbolsByName(
  ~~~~~^~~~~~~~~~~~~                                  
       unordered_set
/usr/include/c++/v1/unordered_set:411:28: note: 'unordered_set' declared here
class _LIBCPP_TEMPLATE_VIS unordered_set              
                           ^                          

Did you forget to include <unordered_map>?

facebook-github-bot pushed a commit to facebook/hhvm that referenced this issue Jun 14, 2023
Summary:
`unordered_set` is unused, it should instead be `unordered_map`.

Fixes: facebook/folly#2015

Reviewed By: yfeldblum

Differential Revision: D46657487

fbshipit-source-id: 375007547e58a0b8e833d71f48e22df1cc62f397
facebook-github-bot pushed a commit that referenced this issue Jun 14, 2023
Summary:
`unordered_set` is unused, it should instead be `unordered_map`.

Fixes: #2015

Reviewed By: yfeldblum

Differential Revision: D46657487

fbshipit-source-id: 375007547e58a0b8e833d71f48e22df1cc62f397
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

1 participant