Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Wdeprecated-copy in wfl::variant, and add move operations
Fixes the majority of the warnings in issue #4166. This class already shared copies of value_ between instances, it seems to be the immutable design pattern so can share from const to non-const instances safely.
- Loading branch information
1 parent
38b6faf
commit 75a7193
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters