forked from boostorg/intrusive
Merged revision(s) 78115-78594 from trunk/libs/intrusive:
[SVN r78598]
This commit is contained in:
@@ -20,7 +20,7 @@ using namespace boost::intrusive;
|
||||
struct StrHasher
|
||||
{
|
||||
std::size_t operator()(const char *str) const
|
||||
{
|
||||
{
|
||||
std::size_t seed = 0;
|
||||
for(; *str; ++str) boost::hash_combine(seed, *str);
|
||||
return seed;
|
||||
@@ -31,7 +31,7 @@ class Expensive : public set_base_hook<>, public unordered_set_base_hook<>
|
||||
{
|
||||
std::string key_;
|
||||
// Other members...
|
||||
|
||||
|
||||
public:
|
||||
Expensive(const char *key)
|
||||
: key_(key)
|
||||
|
||||
Reference in New Issue
Block a user