forked from OSchip/llvm-project
Unbreak the MSVC build
std::make_pair is unreliable under MSVC 2010. Ref: http://stackoverflow.com/questions/2691680/why-does-visual-studio-2010-throw-this-error-with-boost-1-42-0 llvm-svn: 125811
This commit is contained in:
parent
0f79084117
commit
f9e7f09c84
|
@ -40,7 +40,7 @@ public:
|
|||
template <typename CHECKER>
|
||||
void registerChecker() {
|
||||
CHECKER *checker = new CHECKER();
|
||||
Checkers.push_back(std::make_pair(checker, destruct<CHECKER>));
|
||||
Checkers.push_back(std::pair<CheckerRef, Dtor>(checker, destruct<CHECKER>));
|
||||
CHECKER::_register(checker, *this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue