Centos/RHEL - remove usage of constexpr since libc++ doesn't enable ctor for constexpr pair in C++11
Tento commit je obsažen v:
1 rodič
cb454d5366
revize
c1a4ff7b20
1 file changed
+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
|
||||
|
||||
Reference in new issue
Zablokovat Uživatele