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

Fix build with current fmt (master branch) #107

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Conversation

phprus
Copy link
Contributor

@phprus phprus commented Jan 7, 2024

Build error:

In file included from /..../unordered_dense/test/app/counter.cpp:1:
/..../unordered_dense/test/app/counter.h: In function 'bool operator==(const counter::data_t&, const counter::data_t&)':
/..../unordered_dense/test/app/counter.h:31:30: error: 'memcmp' is not a member of 'std'; did you mean 'wmemcmp'?
   31 |             return 0 == std::memcmp(&a, &b, sizeof(data_t));
      |                              ^~~~~~

Signed-off-by: Vladislav Shchapov <[email protected]>
Copy link
Owner

@martinus martinus left a comment

Choose a reason for hiding this comment

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

Thanks!

@martinus martinus merged commit d911053 into martinus:main Jan 8, 2024
4 checks passed
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