Fix build with current fmt (master branch) by phprus · Pull Request #107 · martinus/unordered_dense · GitHub
Skip to content

Fix build with current fmt (master branch) - #107

Merged
martinus merged 1 commit into
martinus:mainfrom
phprus:fmt-1
Jan 8, 2024
Merged

Fix build with current fmt (master branch)#107
martinus merged 1 commit into
martinus:mainfrom
phprus:fmt-1

Conversation

@phprus

@phprus phprus commented Jan 7, 2024

Copy link
Copy Markdown
Contributor

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 <vladislav@shchapov.ru>

@martinus martinus left a comment

Copy link
Copy Markdown
Owner

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
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