gdb::{unique_ptr,move} -> std::{unique_ptr,move}
Now that we require C++11, use std::unique_ptr and std::move directly. gdb/ChangeLog: 2016-11-15 Pedro Alves <palves@redhat.com> * ada-lang.c (create_excep_cond_exprs): Use std::move instead of gdb::move. * break-catch-throw.c (handle_gnu_v3_exceptions): Use std::unique_ptr instead of gdb::unique_ptr. * breakpoint.c (watch_command_1): Use std::move instead of gdb::move. * cli/cli-dump.c (dump_memory_to_file, restore_binary_file): Use std::unique_ptr instead of gdb::unique_ptr. * dtrace-probe.c (dtrace_process_dof_probe): Use std::move instead of gdb::move. * elfread.c (elf_read_minimal_symbols): Use std::unique_ptr instead of gdb::unique_ptr. * mi/mi-main.c (mi_cmd_data_read_memory): Use std::unique_ptr instead of gdb::unique_ptr. * parse.c (parse_expression_for_completion): Use std::move instead of gdb::move. * printcmd.c (display_command): std::move instead of gdb::move.
This commit is contained in:
parent
b7f38fdae7
commit
b22e99fdaf
10 changed files with 31 additions and 11 deletions
|
@ -1309,7 +1309,7 @@ parse_expression_for_completion (const char *string, char **name,
|
|||
TRY
|
||||
{
|
||||
parse_completion = 1;
|
||||
exp = gdb::move (parse_exp_in_context (&string, 0, 0, 0, 0, &subexp));
|
||||
exp = std::move (parse_exp_in_context (&string, 0, 0, 0, 0, &subexp));
|
||||
}
|
||||
CATCH (except, RETURN_MASK_ERROR)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue