Refactoring of container usage:

* New ripple container aliases use hardened_hash
* Use std::tuple instead of boost::tuple
* Use std unordered containers instead of boost
* Fix Destroyer for new containers
* Fix warning for fnv1a on 32-bit arch
* Validator fixes for new containers
This commit is contained in:
Howard Hinnant
2014-04-03 17:08:52 -04:00
committed by Vinnie Falco
parent 8f5b4a6c96
commit fdfcebd1cb
10 changed files with 175 additions and 338 deletions

View File

@@ -1215,6 +1215,14 @@ public:
String convertToPrecomposedUnicode() const;
#endif
template <class Hasher>
friend
void
hash_append (Hasher& h, String const& s)
{
h.append(s.text.getAddress(), s.text.sizeInBytes());
}
private:
//==============================================================================
struct FromNumber { };