Skip to content

Fix deprecation warning with clang shipped with Android NDK r22b#128

Open
ejl103 wants to merge 2 commits intobombomby:masterfrom
ejl103:master
Open

Fix deprecation warning with clang shipped with Android NDK r22b#128
ejl103 wants to merge 2 commits intobombomby:masterfrom
ejl103:master

Conversation

@ejl103
Copy link

@ejl103 ejl103 commented Apr 20, 2021

Fix build warning about deprecated feature std::allocator<void> (see https://en.cppreference.com/w/cpp/memory/allocator)

The second argument isn't necessary and is also deprecated in C++17 (see https://en.cppreference.com/w/cpp/memory/allocator/allocate) so I have just removed it

Fix build warning about deprecated feature std::allocator<void> (see https://en.cppreference.com/w/cpp/memory/allocator)

The second argument isn't necessary and is also deprecated in C++17 (see https://en.cppreference.com/w/cpp/memory/allocator/allocate)
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