Skip to content

Commit f2f2c6e

Browse files
committed
[Runtime] Mark hash_value inline
1 parent 3db9dfc commit f2f2c6e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

stdlib/public/runtime/MetadataLookup.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,8 @@ namespace {
196196
};
197197
} // end anonymous namespace
198198

199-
namespace {
200-
inline llvm::hash_code llvm::hash_value(StringRef S) {
201-
return hash_combine_range(S.begin(), S.end());
202-
}
199+
inline llvm::hash_code llvm::hash_value(StringRef S) {
200+
return hash_combine_range(S.begin(), S.end());
203201
}
204202

205203
struct TypeMetadataPrivateState {

0 commit comments

Comments
 (0)