diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-02-22 22:48:47 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-02-22 22:48:47 +0000 |
commit | 2d76ad6df91d3192f986efd19d70a6d892a05b6c (patch) | |
tree | 8a56785a3ed0042dcf3b79495c152eaea1756754 /lib/CodeGen/InlineSpiller.cpp | |
parent | c4f3d51e12390f39f314451d868350e2a11a52b6 (diff) |
Fix C++0x incompatibility. The signature of std::make_pair<> changes from:
template <class T1, class T2> pair<T1,T2> make_pair(const T1&, const T2&);
to
template <class T1, class T2> pair<V1, V2> make_pair(T1&&, T2&&);
so explicitly specifying the template arguments to make_pair<> is going to break
when C++0x rolls through. Replace them with equivalent std::pair<>. Patch by
James Dennett!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InlineSpiller.cpp')
0 files changed, 0 insertions, 0 deletions