projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extend StringRef's edit-distance algorithm to permit an upper bound on the allowed...
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
IndexedMap.h
diff --git
a/include/llvm/ADT/IndexedMap.h
b/include/llvm/ADT/IndexedMap.h
index ff5d3a139c705e793d53460213d2061757774ae3..89f0dfa64e1ce61e5bc165145523842222928cb1 100644
(file)
--- a/
include/llvm/ADT/IndexedMap.h
+++ b/
include/llvm/ADT/IndexedMap.h
@@
-26,7
+26,7
@@
namespace llvm {
- struct IdentityFunctor : std::unary_function<unsigned, unsigned> {
+ struct IdentityFunctor :
public
std::unary_function<unsigned, unsigned> {
unsigned operator()(unsigned Index) const {
return Index;
}