Closed MBoldyrev closed 5 years ago
Signed-off-by: Mikhail Boldyrev miboldyrev@gmail.com
This change avoids copying of proposal where possible and makes the shared proposal constant. Also it applies the new aliasing policy to ProposalType.
ProposalType
Less copying, less chances of unintended changes to shared proposals.
Longer type names due to the new aliasing policy.
Signed-off-by: Mikhail Boldyrev miboldyrev@gmail.com
Description of the Change
This change avoids copying of proposal where possible and makes the shared proposal constant. Also it applies the new aliasing policy to
ProposalType
.Benefits
Less copying, less chances of unintended changes to shared proposals.
Possible Drawbacks
Longer type names due to the new aliasing policy.