Skip to content

Commit

Permalink
Fix warning as error
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwalchadha committed Feb 24, 2022
1 parent 61b377c commit b04507f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cswinrt/cswinrt.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<AdditionalDependencies>kernel32.lib;user32.lib;%(AdditionalDependencies);windowsapp.lib;advapi32.lib;shlwapi.lib</AdditionalDependencies>
</Link>
<ClCompile>
<TreatWarningAsError>false</TreatWarningAsError>
<TreatWarningAsError>true</TreatWarningAsError>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions src/cswinrt/helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -1116,6 +1116,7 @@ namespace cswinrt
return sem;
}
}
throw_invalid("Class does not have a default interface");
}

void sort_fast_abi_ifaces(std::vector<TypeDef>& fast_abi_ifaces)
Expand Down

0 comments on commit b04507f

Please sign in to comment.