Mercurial > octave
diff libinterp/corefcn/__ftp__.cc @ 29299:20092ae957da
Add discard() as an alias for set() for unwind_actions.
* unwind-prot.h (unwind_action, unwind_action_safe): Add new member function
discard() which calls set() with no arguments.
* unwind-prot.h (unwind_action::run, unwind_action_safe::run): Replace call to
set() with call to discard().
* __ftp__.cc (F__ftp_mget__), urlwrite.cc (Furlwrite),
url-transfer.cc (base_url_transfer::mget_directory): Replace calls to set()
with discard().
author | Rik <rik@octave.org> |
---|---|
date | Sat, 16 Jan 2021 11:50:42 -0800 |
parents | 28913793f678 |
children | 7854d5752dd2 |
line wrap: on
line diff