commit | 10c40eee98c600d24437474463b056f323d0cfd2 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Aug 08 23:43:26 2009 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Aug 08 23:43:26 2009 +0000 |
tree | c0848441080d1c542ac17c45555a5d8c71cfb508 | |
parent | 942f4f33d02dba823594bd2d7b3d317cb01c74f8 [diff] |
Older GCCs don't have vector::data(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78519 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CGCXX.cpp b/lib/CodeGen/CGCXX.cpp index 82813f5..c16ca36 100644 --- a/lib/CodeGen/CGCXX.cpp +++ b/lib/CodeGen/CGCXX.cpp
@@ -106,7 +106,7 @@ "__cxx_global_initialization", &TheModule); CodeGenFunction(*this).GenerateCXXGlobalInitFunc(Fn, - CXXGlobalInits.data(), + &CXXGlobalInits[0], CXXGlobalInits.size()); AddGlobalCtor(Fn); }