Hello. I write c++ program wich include google::sparse_hash_map. My data structure looks like this:
FreeBSD 9.1
FreeBSD 9.0
There are two methods in the class:
On FreeBSD 9.0 everything work OK. I can get the user by his hash. But on FreeBSD 9.1 it doesn't work.
FreeBSD 9.1
Code:
typedef google::dense_hash_map<const char*, const User*, std:tr1::hash<const char*>, eq_string> data
FreeBSD 9.0
Code:
typedef google::dense_hash_map<const char*, const User*, __gnu_cxx::hash<const char*>, eq_string> data
There are two methods in the class:
Code:
void addUser(User *user);
User* getUser(const char* hash);
On FreeBSD 9.0 everything work OK. I can get the user by his hash. But on FreeBSD 9.1 it doesn't work.