mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-13 09:01:47 +00:00
Allow partial moving
The official C++ core guidelines policy is you must move rvalues. This is inflexible in practice in the Wesnoth codebase.
This commit is contained in:
parent
0b46bd3044
commit
7ddd4ff02e
|
@ -1,4 +1,7 @@
|
|||
---
|
||||
Checks: '-*,bugprone-move-forwarding-reference,bugprone-use-after-move,cppcoreguidelines-rvalue-reference-param-not-moved,modernize-use-nullptr,performance-move-const-arg,performance-move-constructor-init,performance-no-automatic-move,performance-unnecessary-value-param'
|
||||
CheckOptions:
|
||||
- key: cppcoreguidelines-rvalue-reference-param-not-moved.AllowPartialMove
|
||||
value: true
|
||||
WarningsAsErrors: true
|
||||
...
|
||||
|
|
Loading…
Reference in New Issue
Block a user