Skip to content

Commit fc9b4d7

Browse files
authored
abort (#868)
1 parent c350ff3 commit fc9b4d7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

strings/base_error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ WINRT_EXPORT namespace winrt
567567
}
568568
catch (...)
569569
{
570-
std::terminate();
570+
abort();
571571
}
572572
}
573573

strings/base_string.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace winrt::impl
2929
}
3030
else if (remaining < 0)
3131
{
32-
std::terminate();
32+
abort();
3333
}
3434

3535
return remaining;
@@ -116,7 +116,7 @@ namespace winrt::impl
116116

117117
if (value[length] != 0)
118118
{
119-
std::terminate();
119+
abort();
120120
}
121121

122122
header.flags = hstring_reference_flag;

strings/base_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace winrt::impl
3636
}
3737
else
3838
{
39-
std::terminate();
39+
abort();
4040
}
4141
}
4242

@@ -89,7 +89,7 @@ WINRT_EXPORT namespace winrt
8989
{
9090
if (value.size() != 36 || value[8] != '-' || value[13] != '-' || value[18] != '-' || value[23] != '-')
9191
{
92-
std::terminate();
92+
abort();
9393
}
9494

9595
return

0 commit comments

Comments
 (0)