• Daniel Elstner's avatar
    :find_matches_at_path_iter): Use reference arguments instead of pointers. · 1f7800c0
    Daniel Elstner authored
    * src/filetree.{cc,h} (FileTree::find_matches_at_path_iter): Use
    reference arguments instead of pointers.  Make use of sigc::ref()
    to bind a reference argument to a signal handler.
    (FileTree::replace_matches_at_path_iter): ditto
    (FileTree::save_file_at_iter): Likewise.  Also get rid of the
    on-demand creation of error_list, because it's unnecessary and
    not exception-safe.  The caller is responsible for instantiating
    the MessageList now.
    1f7800c0
filetree.cc 28.1 KB