Mercurial > octave-nkf
comparison liboctave/util/url-transfer.h @ 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 | 43b9181340fb |
comparison
equal
deleted
inserted
replaced
17556:9e8a9f043944 | 17557:58039875767d |
---|---|
33 | 33 |
34 class base_url_transfer | 34 class base_url_transfer |
35 { | 35 { |
36 private: | 36 private: |
37 | 37 |
38 static void | 38 static void delete_file (const std::string& file); |
39 delete_file (const std::string& file) | |
40 { | |
41 octave_unlink (file); | |
42 } | |
43 | 39 |
44 static void reset_path (base_url_transfer *curl_xfer) | 40 static void reset_path (base_url_transfer *curl_xfer) |
45 { | 41 { |
46 curl_xfer->cwd (".."); | 42 curl_xfer->cwd (".."); |
47 } | 43 } |