Skip to content

Commit

Permalink
no exceptions here
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-zamora committed Apr 2, 2020
1 parent a4378ca commit 619085f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/types/UiaTracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ using namespace Microsoft::Console::Types;
IdType UiaTracing::_utrId = 1;
IdType UiaTracing::_siupId = 1;

void UiaTracing::_assignId(UiaTextRangeBase& utr)
void UiaTracing::_assignId(UiaTextRangeBase& utr) noexcept
{
auto temp = utr.AssignId(_utrId);
if (temp)
Expand All @@ -28,7 +28,7 @@ void UiaTracing::_assignId(UiaTextRangeBase& utr)
}
}

void UiaTracing::_assignId(ScreenInfoUiaProviderBase& siup)
void UiaTracing::_assignId(ScreenInfoUiaProviderBase& siup) noexcept
{
auto temp = siup.AssignId(_siupId);
if (temp)
Expand Down
4 changes: 2 additions & 2 deletions src/types/UiaTracing.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ namespace Microsoft::Console::Types
static IdType _utrId;
static IdType _siupId;

static void _assignId(UiaTextRangeBase& utr);
static void _assignId(ScreenInfoUiaProviderBase& siup);
static void _assignId(UiaTextRangeBase& utr) noexcept;
static void _assignId(ScreenInfoUiaProviderBase& siup) noexcept;
};
}

1 comment on commit 619085f

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New misspellings found, please review:

  • VTE
To accept these changes, run the following commands
remove_obsolete_words=$(mktemp)
echo '#!/usr/bin/perl -ni
my $re=join "|", qw(
Impl
XY
);
next if /^($re)(?:$| .*)/;
print;' > $remove_obsolete_words
chmod +x $remove_obsolete_words
for file in .github/actions/spell-check/whitelist/alphabet.txt .github/actions/spell-check/whitelist/web.txt .github/actions/spell-check/whitelist/whitelist.txt; do $remove_obsolete_words $file; done
rm $remove_obsolete_words
(
echo "
impl
VTE
xy
"
) | sort -u -f | perl -ne 'next unless /./; print' > new_whitelist.txt && mv new_whitelist.txt '.github/actions/spell-check/whitelist/619085f83b3e1840de403922c75a34a97be7e41f.txt'

Please sign in to comment.