Skip to content

Conversation

@hebasto
Copy link
Member

@hebasto hebasto commented May 17, 2025

This PR removes the unused move-assignment operator to silence the -Wunused-member-function warning emitted by clang-cl:

D:\a\bitcoin\bitcoin\src\leveldb\util\env_windows.cc(84,17): error : unused member function 'operator=' [-Werror,-Wunused-member-function] [D:\a\bitcoin\bitcoin\build\src\leveldb.vcxproj]

This warning was noted during work on bitcoin/bitcoin#31507, where it was suggested that addressing it might be worthwhile.

Alternatively, the warning could be suppressed downstream, but this change avoids the need for that.

There appears to be little justification for submitting this upstream.

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.

1 participant