mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
g++ 4.0 doesn't have std::vector::data.
llvm-svn: 78579
This commit is contained in:
parent
4cd02c843b
commit
2d14670d93
@ -446,7 +446,7 @@ struct ConstantCreator<ConstantAggregateZero, Type, ValType> {
|
||||
template<>
|
||||
struct ConstantCreator<MDNode, Type, std::vector<Value*> > {
|
||||
static MDNode *create(const Type* Ty, const std::vector<Value*> &V) {
|
||||
return new MDNode(V.data(), V.size());
|
||||
return new MDNode(&V[0], V.size());
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user