diff options
author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-07-15 17:06:11 +0000 |
---|---|---|
committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-07-15 17:06:11 +0000 |
commit | f3d15b0b3791d746d44d99b05d3bcb2e9bdf0eb3 (patch) | |
tree | 5b6d391c72c9875f0065f0e772e872bc8544834b /lib/Support/StringPool.cpp | |
parent | 66e41e3c6e8b8fbc48d5d3b4d2bd9ce0be4ecb75 (diff) |
Notes
Diffstat (limited to 'lib/Support/StringPool.cpp')
-rw-r--r-- | lib/Support/StringPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/StringPool.cpp b/lib/Support/StringPool.cpp index 1ee917f119f7..ff607cf8c4ad 100644 --- a/lib/Support/StringPool.cpp +++ b/lib/Support/StringPool.cpp @@ -22,7 +22,7 @@ StringPool::~StringPool() { assert(InternTable.empty() && "PooledStringPtr leaked!"); } -PooledStringPtr StringPool::intern(const StringRef &Key) { +PooledStringPtr StringPool::intern(StringRef Key) { table_t::iterator I = InternTable.find(Key); if (I != InternTable.end()) return PooledStringPtr(&*I); |