diff options
| author | Pieter Wuille <[email protected]> | 2016-10-28 17:07:29 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-11-07 13:56:27 -0800 |
| commit | a2929a26f5cf3501804fd12071dd6cf6b464a545 (patch) | |
| tree | 3b53440bdf14304706f3a29b20a25e4c2b5663ae /src/httpserver.cpp | |
| parent | Avoid -Wshadow errors (diff) | |
| download | discoin-a2929a26f5cf3501804fd12071dd6cf6b464a545.tar.xz discoin-a2929a26f5cf3501804fd12071dd6cf6b464a545.zip | |
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.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions