Merge pull request #245 from scchan/centos_fixes

various fixes for centos/rhel

[ROCm/hip commit: 86f62accfd]
This commit is contained in:
Ben Sander
2017-11-01 18:10:29 +01:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ namespace
using namespace ELFIO;
using namespace std;
static constexpr pair<Elf64_Addr, Elf_Xword> r{0, 0};
static const pair<Elf64_Addr, Elf_Xword> r{0, 0};
for (auto i = 0u; i != section.get_symbols_num(); ++i) {
// TODO: this is boyscout code, caching the temporaries