diff options
author | Chris Robinson <[email protected]> | 2018-11-16 22:41:04 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-16 22:41:04 -0800 |
commit | 1bd40d94345ac263887b9a83c765ee46dc701799 (patch) | |
tree | 89cc2a21d1a16ade5b23d80ea068424c021411d0 /native-tools | |
parent | de8d8b5216650467661040b6b47ea649cf898c01 (diff) |
Put a lambda in the call_once call
This optimizes better and avoids a visible symbol (templating to an anonymous
lambda type will generate a unique anonymous instantiation, making inlining
more likely, whereas passing a general function pointer/reference type will
likely use or generate a publically available instance).
Diffstat (limited to 'native-tools')
0 files changed, 0 insertions, 0 deletions