Mercurial > octave-nkf
comparison liboctave/util/url-transfer.cc @ 17557:58039875767d
move function definition out of header file
* url-transfer.cc (base_url_transfer::delete_file): Move function
definition here.
* url-transfer.h: From here.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 03 Oct 2013 16:56:36 -0400 |
parents | 0946b0e06544 |
children | d7ca186396d4 |
comparison
equal
deleted
inserted
replaced
17556:9e8a9f043944 | 17557:58039875767d |
---|---|
42 #ifdef HAVE_CURL | 42 #ifdef HAVE_CURL |
43 #include <curl/curl.h> | 43 #include <curl/curl.h> |
44 #include <curl/curlver.h> | 44 #include <curl/curlver.h> |
45 #include <curl/easy.h> | 45 #include <curl/easy.h> |
46 #endif | 46 #endif |
47 | |
48 void base_url_transfer::delete_file (const std::string& file) | |
49 { | |
50 octave_unlink (file); | |
51 } | |
47 | 52 |
48 void | 53 void |
49 base_url_transfer::mget_directory (const std::string& directory, | 54 base_url_transfer::mget_directory (const std::string& directory, |
50 const std::string& target) | 55 const std::string& target) |
51 { | 56 { |