HomePhabricator

Make CSerAction's ForRead() constexpr
a2929a26f5cfUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Make CSerAction's ForRead() constexpr

The CSerAction's ForRead() method does not depend on any runtime
data, so guarantee that requests to it can be optimized out by
making it constexpr.

Suggested by Cory Fields.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Oct 29 2016, 00:07
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGa603925c77d7: Avoid -Wshadow errors
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rSTAGINGa2929a26f5cf: Make CSerAction's ForRead() constexpr (authored by Pieter Wuille <pieter.wuille@gmail.com>).Nov 7 2016, 21:56