1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-31 20:48:07 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-18 13:27:18 +09:00
parent 260c7d7b34
commit 3626108816
2 changed files with 4 additions and 2 deletions

View File

@ -109,7 +109,9 @@ private:
uint32_t size_ = 0;
};
inline InternedString intern(StringRef s) { return InternedString(s); }
inline InternedString intern(StringRef s) {
return InternedString(s);
}
//
// symtab.cc

View File

@ -18,7 +18,7 @@ typedef tbb::concurrent_hash_map<StringRef, InternedString> MapType;
static MapType map;
InternedString::InternedString(StringRef s) {
if (s.size() == 0)
if (s.empty())
return;
MapType::accessor acc;