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

[ROCm/hip commit: 99d32a195f]
Этот коммит содержится в:
Siu Chi Chan
2017-10-31 18:16:12 +00:00
родитель b6265074fa
Коммит d938703f9b
+1 -1
Просмотреть файл
@@ -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