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 | fc7222bfc469c485fa92f4fa9305559cffe391dc (patch) | |
tree | f4932a55731e46b8c393a0839ded57269ff1c1ce /clang/lib/Parse/ParseDecl.cpp | |
parent | 147d021b75d61a784754d17a6ec8951514fe0257 (diff) | |
download | bcm5719-llvm-fc7222bfc469c485fa92f4fa9305559cffe391dc.tar.gz bcm5719-llvm-fc7222bfc469c485fa92f4fa9305559cffe391dc.zip |
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!
llvm-svn: 126256
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions