Skip to content

Commit

Permalink
fix MSVC build by using braced init
Browse files Browse the repository at this point in the history
  • Loading branch information
sbiscigl committed Aug 29, 2024
1 parent 433e820 commit a1bdfc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/aws/crt/StringView.h
Original file line number Diff line number Diff line change
Expand Up @@ -859,6 +859,6 @@ namespace std
const Aws::Crt::basic_string_view<CharT, Traits> &val) const noexcept
{
auto str = std::basic_string<CharT, Traits>(val.data(), val.size());
return std::hash<std::basic_string<CharT, Traits>>()(str);
return std::hash<std::basic_string<CharT, Traits>>{}(str);
}
} // namespace std

0 comments on commit a1bdfc6

Please sign in to comment.