1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Switch some captures to '?'

This commit is contained in:
Brian Fiete 2023-03-17 08:39:05 -07:00
parent 7f695596b8
commit ac6f58f118
4 changed files with 9 additions and 9 deletions

View file

@ -315,7 +315,7 @@ namespace Beefy.widgets
focusedItem.Focused = false;
bool foundOldEnd = false;
bool foundNewHead = false;
WithItems(scope [&] (checkItem) =>
WithItems(scope [?] (checkItem) =>
{
checkItem.Selected = foundNewHead ^ foundOldEnd;
if (checkItem == item)

View file

@ -345,7 +345,7 @@ namespace System
public Result<void> GetValue(StringView name, List<uint8> outData)
{
bool gotData = false;
GetValue(name, scope [&] (regType, regData) =>
GetValue(name, scope [?] (regType, regData) =>
{
if (regType == Windows.REG_BINARY)
{
@ -361,7 +361,7 @@ namespace System
public Result<void> GetValue(StringView name, String outData)
{
bool gotData = false;
GetValue(name, scope [&] (regType, regData) =>
GetValue(name, scope [?] (regType, regData) =>
{
if ((regType == Windows.REG_SZ) || (regType == Windows.REG_EXPAND_SZ))
{