diff --git a/backward.hpp b/backward.hpp index 2342b18..1a39c44 100644 --- a/backward.hpp +++ b/backward.hpp @@ -419,7 +419,6 @@ namespace details { template struct hashtable { typedef std::unordered_map type; }; -using std::move; } // namespace details } // namespace backward #else // NOT BACKWARD_ATLEAST_CXX11 @@ -1656,9 +1655,9 @@ class TraceResolverLinuxImpl return r; // damned, that's a stripped file that you got there! } - r->handle = move(bfd_handle); - r->symtab = move(symtab); - r->dynamic_symtab = move(dynamic_symtab); + r->handle = std::move(bfd_handle); + r->symtab = std::move(symtab); + r->dynamic_symtab = std::move(dynamic_symtab); return r; } @@ -2471,8 +2470,8 @@ class TraceResolverLinuxImpl // If we have a valid elf handle, return the new elf handle // and file handle and discard the original ones if (debuglink_elf) { - elf_handle = move(debuglink_elf); - file_handle = move(debuglink_file); + elf_handle = std::move(debuglink_elf); + file_handle = std::move(debuglink_file); } } } @@ -2494,9 +2493,9 @@ class TraceResolverLinuxImpl dwarf_handle.reset(dwarf_debug); - r.file_handle = move(file_handle); - r.elf_handle = move(elf_handle); - r.dwarf_handle = move(dwarf_handle); + r.file_handle = std::move(file_handle); + r.elf_handle = std::move(elf_handle); + r.dwarf_handle = std::move(dwarf_handle); return r; }