aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-24 07:12:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-24 07:12:20 +0000
commit050578fb4a006d7a183662f83fc22f7c78475605 (patch)
tree56dc25024c07169ed33b7b0ba4842e68ae5e0860 /include
parent8218f6fc6211c646d39fb2ac074dcd7f88f597cd (diff)
Fix constructor types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ADT/Twine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/Twine.h b/include/llvm/ADT/Twine.h
index 1a64d0a701..93ff52c83f 100644
--- a/include/llvm/ADT/Twine.h
+++ b/include/llvm/ADT/Twine.h
@@ -125,8 +125,8 @@ namespace llvm {
}
/// Construct a twine from explicit values.
- explicit Twine(const void *_LHS, unsigned _LHSKind,
- const void *_RHS, unsigned _RHSKind)
+ explicit Twine(const void *_LHS, NodeKind _LHSKind,
+ const void *_RHS, NodeKind _RHSKind)
: LHS(_LHS), RHS(_RHS), LHSKind(_LHSKind), RHSKind(_RHSKind) {
assert(isValid() && "Invalid twine!");
}