Put a lambda in the call_once call
commit1bd40d94345ac263887b9a83c765ee46dc701799
authorChris Robinson <chris.kcat@gmail.com>
Sat, 17 Nov 2018 06:41:04 +0000 (16 22:41 -0800)
committerChris Robinson <chris.kcat@gmail.com>
Sat, 17 Nov 2018 06:41:04 +0000 (16 22:41 -0800)
tree89cc2a21d1a16ade5b23d80ea068424c021411d0
parentde8d8b5216650467661040b6b47ea649cf898c01
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).
Alc/alc.cpp