Commit fa0e8d7
crypto: avoid std::function
Using a template type lets the compiler choose an appropriate type
that likely is more efficient than std::function since the lambda
expressions at the call sites do not capture any values from surrounding
scopes.
PR-URL: #53683
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>1 parent ef5dabd commit fa0e8d7Copy full SHA for fa0e8d7
1 file changed
+5-6Lines changed: 5 additions & 6 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/crypto
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+5-6Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
83 | | - |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
84 | 83 | |
85 | 84 | |
86 | 85 | |
|
0 commit comments