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

This commit is contained in:
Siu Chi Chan
2017-10-31 18:16:12 +00:00
parent cb454d5366
commit c1a4ff7b20
+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