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

Этот коммит содержится в:
Siu Chi Chan
2017-10-31 18:16:12 +00:00
родитель cd6996614f
Коммит 99d32a195f
+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