Skip to content

Commit

Permalink
One more case of constexpr plus inline
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Nov 24, 2021
1 parent bcf5141 commit ab67765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DirectXTex/DirectXTex.inl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ constexpr TEX_COMPRESS_FLAGS operator|(TEX_FILTER_FLAGS a, TEX_COMPRESS_FLAGS b)
//=====================================================================================

_Use_decl_annotations_
constexpr inline bool __cdecl IsValid(DXGI_FORMAT fmt) noexcept
constexpr bool __cdecl IsValid(DXGI_FORMAT fmt) noexcept
{
return (static_cast<size_t>(fmt) >= 1 && static_cast<size_t>(fmt) <= 190);
}
Expand Down

0 comments on commit ab67765

Please sign in to comment.