-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix dead code warning in ComPtr, update natvis
- Loading branch information
Arlie Davis
committed
Jun 26, 2024
1 parent
526f7bc
commit cf10792
Showing
3 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010"> | ||
<Type Name="windows_result::error::Error"> | ||
<DisplayString>{(HRESULT)code.__0.__0}</DisplayString> | ||
<Expand> | ||
<ExpandedItem>code</ExpandedItem> | ||
<Item Name="[detail]">detail</Item> | ||
<Item Name="[code]">(HRESULT)code.__0.__0</Item> | ||
<Item Name="[info]">info</Item> | ||
</Expand> | ||
</Type> | ||
|
||
<Type Name="windows_result::hresult::HRESULT"> | ||
<DisplayString>{(::HRESULT)__0}</DisplayString> | ||
<DisplayString>{(HRESULT)__0}</DisplayString> | ||
</Type> | ||
|
||
<Type Name="windows_result::hresult::NonZeroHRESULT"> | ||
<DisplayString>{(::HRESULT)__0.__0.__0}</DisplayString> | ||
<Type Name="windows_result::error::error_info::ErrorInfo"> | ||
<DisplayString>ErrorInfo</DisplayString> | ||
<Expand> | ||
<Item Name="[object]">*(void**)&ptr</Item> | ||
</Expand> | ||
</Type> | ||
</AutoVisualizer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters