gdbscm_wrap, really forward args
Commit 557e56be26
("Eliminate most remaining cleanups under
gdb/guile/") missed adding the && to Args to really forward the
arguments properly. Noticed by inspection.
gdb/ChangeLog:
2018-07-19 Pedro Alves <palves@redhat.com>
* guile/guile-internal.h (gdbscm_wrap): Really make 'args' a
forwarding reference.
This commit is contained in:
parent
f559b440bb
commit
43cc6c3adb
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2018-07-19 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* guile/guile-internal.h (gdbscm_wrap): Really make 'args' a
|
||||
forwarding reference.
|
||||
|
||||
2018-07-18 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
|
||||
|
|
|
@ -672,7 +672,7 @@ extern void gdbscm_initialize_values (void);
|
|||
|
||||
template<typename Function, typename... Args>
|
||||
SCM
|
||||
gdbscm_wrap (Function &&func, Args... args)
|
||||
gdbscm_wrap (Function &&func, Args &&... args)
|
||||
{
|
||||
SCM result = SCM_BOOL_F;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue