diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-27 06:32:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-27 06:32:58 +0000 |
commit | ec2830d930e306124c2ba6bf1060a3c71dced6ea (patch) | |
tree | a02bab7303822e0c900f08890529da888461174a /lib/CodeGen/CGDeclCXX.cpp | |
parent | 6d11cdbde41aa847369db85369b2ce5f82515b06 (diff) |
tidy up OrderGlobalInits
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDeclCXX.cpp')
-rw-r--r-- | lib/CodeGen/CGDeclCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDeclCXX.cpp b/lib/CodeGen/CGDeclCXX.cpp index 459a1e1fa6..7cbadd315e 100644 --- a/lib/CodeGen/CGDeclCXX.cpp +++ b/lib/CodeGen/CGDeclCXX.cpp @@ -173,7 +173,7 @@ CodeGenModule::EmitCXXGlobalVarDeclInitFunc(const VarDecl *D) { if (D->hasAttr<InitPriorityAttr>()) { unsigned int order = D->getAttr<InitPriorityAttr>()->getPriority(); - OrderGlobalInitsType Key(order, PrioritizedCXXGlobalInits.size()); + OrderGlobalInits Key(order, PrioritizedCXXGlobalInits.size()); PrioritizedCXXGlobalInits.push_back(std::make_pair(Key, Fn)); } else |