[yaml2obj] Fix build. Apparently I've gotten too familiar with C++11.
llvm-svn: 161206
This commit is contained in:
parent
1ffd9de4f1
commit
152a3735ce
|
@ -39,7 +39,7 @@ static cl::opt<std::string>
|
|||
Input(cl::Positional, cl::desc("<input>"), cl::init("-"));
|
||||
|
||||
template<class T>
|
||||
typename std::enable_if<std::numeric_limits<T>::is_integer, bool>::type
|
||||
typename llvm::enable_if_c<std::numeric_limits<T>::is_integer, bool>::type
|
||||
getAs(const llvm::yaml::ScalarNode *SN, T &Result) {
|
||||
SmallString<4> Storage;
|
||||
StringRef Value = SN->getValue(Storage);
|
||||
|
|
Loading…
Reference in New Issue