folly: experimental: ABI-break: replace deprecated folly::StringPieceHash with folly...
authorLucian Grijincu <lucian@fb.com>
Wed, 5 Oct 2016 04:28:20 +0000 (21:28 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 5 Oct 2016 04:38:30 +0000 (21:38 -0700)
commita30215d999d999af1b70ab1bc71de553e39075e4
treeff4738cee58cd57be64f8e346cf1ea1844f47e89
parentb18fddc43276a517a4293bb7931e59f1a2ccb690
folly: experimental: ABI-break: replace deprecated folly::StringPieceHash with folly::Hash

Summary:
folly::StringPieceHash has a large comment explaining why not to use it, but it's not marked as deprecated.

It's also conveniently named StringPieceHash and not StringPieceHashDEPRECATED so new uses appear from time to time.

Let's nuke the default before it does more damage.

Reviewed By: yfeldblum

Differential Revision: D3967239

fbshipit-source-id: 04b0564fdf2a70f1195ef2afdff092bc63cde975
folly/experimental/StringKeyedUnorderedMap.h
folly/experimental/StringKeyedUnorderedSet.h
folly/experimental/test/StringKeyedTest.cpp