summaryrefslogtreecommitdiff
path: root/Source/cmComputeLinkDepends.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-12-31 14:55:42 +0100
committerStephen Kelly <steveire@gmail.com>2015-01-11 17:00:55 +0100
commit2f7ef7e38d7aad93f5d25efb4fd7f61468cf06a2 (patch)
treeda91bed333b2625de677b27d784d44a2852656c2 /Source/cmComputeLinkDepends.cxx
parent4c69ec6f121f303113d2f8a158d2e53b7d93d6b4 (diff)
downloadcmake-2f7ef7e38d7aad93f5d25efb4fd7f61468cf06a2.tar.gz
Revert "Misc. fixes for the Oracle / Sun compiler."
This reverts commit 97b65f8156734db2adc367b27c822a5fe332d740.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r--Source/cmComputeLinkDepends.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx
index a636d23c73..1fb8f30f4a 100644
--- a/Source/cmComputeLinkDepends.cxx
+++ b/Source/cmComputeLinkDepends.cxx
@@ -266,10 +266,9 @@ cmComputeLinkDepends::Compute()
// Iterate in reverse order so we can keep only the last occurrence
// of a shared library.
std::set<int> emmitted;
- const std::vector<int>& cFLO = this->FinalLinkOrder;
for(std::vector<int>::const_reverse_iterator
- li = cFLO.rbegin(),
- le = cFLO.rend();
+ li = this->FinalLinkOrder.rbegin(),
+ le = this->FinalLinkOrder.rend();
li != le; ++li)
{
int i = *li;