Skip to content

Commit

Permalink
make these lines way cleaner to read
Browse files Browse the repository at this point in the history
  • Loading branch information
zadjii-msft committed Feb 28, 2020
1 parent 1a18ef3 commit 2e56284
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/cascadia/TerminalApp/ActionArgs.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ namespace winrt::TerminalApp::implementation
{
args->_TrimWhitespace = trimWhitespace.asBool();
}
return { *args, std::vector<::TerminalApp::SettingsLoadWarnings>{} };
return { *args, {} };
}
};

Expand All @@ -139,7 +139,7 @@ namespace winrt::TerminalApp::implementation
// LOAD BEARING: Not using make_self here _will_ break you in the future!
auto args = winrt::make_self<NewTabArgs>();
args->_TerminalArgs = NewTerminalArgs::FromJson(json);
return { *args, std::vector<::TerminalApp::SettingsLoadWarnings>{} };
return { *args, {} };
}
};

Expand Down Expand Up @@ -168,7 +168,7 @@ namespace winrt::TerminalApp::implementation
{
args->_TabIndex = tabIndex.asUInt();
}
return { *args, std::vector<::TerminalApp::SettingsLoadWarnings>{} };
return { *args, {} };
}
};

Expand Down Expand Up @@ -232,7 +232,7 @@ namespace winrt::TerminalApp::implementation
{
args->_Direction = ParseDirection(directionString.asString());
}
return { *args, std::vector<::TerminalApp::SettingsLoadWarnings>{} };
return { *args, {} };
}
};

Expand Down Expand Up @@ -261,7 +261,7 @@ namespace winrt::TerminalApp::implementation
{
args->_Direction = ParseDirection(directionString.asString());
}
return { *args, std::vector<::TerminalApp::SettingsLoadWarnings>{} };
return { *args, {} };
}
};

Expand Down Expand Up @@ -290,7 +290,7 @@ namespace winrt::TerminalApp::implementation
{
args->_Delta = jsonDelta.asInt();
}
return { *args, std::vector<::TerminalApp::SettingsLoadWarnings>{} };
return { *args, {} };
}
};

Expand Down Expand Up @@ -345,7 +345,7 @@ namespace winrt::TerminalApp::implementation
{
args->_SplitStyle = ParseSplitState(jsonStyle.asString());
}
return { *args, std::vector<::TerminalApp::SettingsLoadWarnings>{} };
return { *args, {} };
}
};
}
Expand Down

0 comments on commit 2e56284

Please sign in to comment.