commit | 085fc4d6c679055fc603650e7d29579b262e11a8 | [log] [tgz] |
---|---|---|
author | Dylan Noblesmith <nobled@dreamwidth.org> | Sun Aug 24 19:10:57 2014 +0000 |
committer | Dylan Noblesmith <nobled@dreamwidth.org> | Sun Aug 24 19:10:57 2014 +0000 |
tree | ec1e4b67bdf444fbc43f0718fa96c0313ecd8777 | |
parent | aa9b74c5447382b1f57d06604a4993b2b0e78486 [diff] [blame] |
TableGen: unique_ptr-ify RecordKeeper llvm-svn: 216350
diff --git a/llvm/lib/TableGen/Record.cpp b/llvm/lib/TableGen/Record.cpp index d4800c4..34e3ab4 100644 --- a/llvm/lib/TableGen/Record.cpp +++ b/llvm/lib/TableGen/Record.cpp
@@ -2031,7 +2031,7 @@ std::vector<Record*> Defs; for (const auto &D : getDefs()) if (D.second->isSubClassOf(Class)) - Defs.push_back(D.second); + Defs.push_back(D.second.get()); return Defs; }