fix windows build
BUG=skia: Review URL: https://codereview.chromium.org/917363002
This commit is contained in:
parent
05d9044de4
commit
201c98d08d
@ -41,7 +41,7 @@ DEF_TEST(HashMap, r) {
|
||||
REPORTER_ASSERT(r, map.count() == N);
|
||||
}
|
||||
|
||||
namespace { uint32_t hash_string(SkString s) { return s.size(); } }
|
||||
namespace { uint32_t hash_string(SkString s) { return (uint32_t)s.size(); } }
|
||||
|
||||
DEF_TEST(HashSet, r) {
|
||||
SkTHashSet<SkString, hash_string> set;
|
||||
|
Loading…
Reference in New Issue
Block a user