@@ -116,24 +116,24 @@ class profile_info {
116
116
117
117
using profile_key = std::pair<std::string, std::thread::id>;
118
118
119
-
120
119
namespace internal {
121
- struct hash_profile_key {
122
- std::size_t operator ()(const profile_key& key) const {
123
- return std::hash<std::string>()(key.first )
124
- ^ std::hash<std::thread::id>()(key.second );
125
- }
126
- };
127
- struct equal_profile_key {
128
- bool operator ()(const profile_key& lhs, const profile_key& rhs) const {
129
- return lhs.first == rhs.first && lhs.second == rhs.second ;
130
- }
131
- };
120
+ struct hash_profile_key {
121
+ std::size_t operator ()(const profile_key& key) const {
122
+ return std::hash<std::string>()(key.first )
123
+ ^ std::hash<std::thread::id>()(key.second );
124
+ }
125
+ };
126
+ struct equal_profile_key {
127
+ bool operator ()(const profile_key& lhs, const profile_key& rhs) const {
128
+ return lhs.first == rhs.first && lhs.second == rhs.second ;
129
+ }
130
+ };
132
131
133
- }
132
+ } // namespace internal
134
133
135
- using profile_map = tbb::concurrent_unordered_map<profile_key,
136
- profile_info, internal::hash_profile_key, internal::equal_profile_key>;
134
+ using profile_map = tbb::concurrent_unordered_map<profile_key, profile_info,
135
+ internal::hash_profile_key,
136
+ internal::equal_profile_key>;
137
137
138
138
/* *
139
139
* Profiles C++ lines where the object is in scope.
0 commit comments