Fix signed conversion warnings.

This commit is contained in:
Daniel James committed 2016-10-05 09:45:53 +01:00
1 parent a0dc86ecbc
commit 71d19820ac
15 files changed
+61 -40

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ namespace unnecessary_copy_tests
#endif
{
std::size_t hash_value(unnecessary_copy_tests::count_copies const& x) {
return x.tag_;
return static_cast<std::size_t>(x.tag_);
}
}