Centos/RHEL - remove usage of constexpr since libc++ doesn't enable ctor for constexpr pair in C++11

[ROCm/hip commit: 99d32a195f]
This commit is contained in:
Siu Chi Chan
2017-10-31 18:16:12 +00:00
orang tua b6265074fa
melakukan d938703f9b
+1 -1
Melihat 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