diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-09 16:29:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-09 16:29:21 +0100 |
| commit | 92b7d1cffbd0d457f8b4b23cc72937bcf8e5ed5e (patch) | |
| tree | b175db682422765468991702e8563bcd89713b70 /src/lib/internet.cc | |
| parent | 7392cb8383c9b857edad5f99eaf917ed70da237d (diff) | |
Tidying.
Diffstat (limited to 'src/lib/internet.cc')
| -rw-r--r-- | src/lib/internet.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/internet.cc b/src/lib/internet.cc index ca72399f3..34e106977 100644 --- a/src/lib/internet.cc +++ b/src/lib/internet.cc @@ -19,10 +19,10 @@ */ -#include "scoped_temporary.h" #include "compose.hpp" -#include "exceptions.h" #include "cross.h" +#include "exceptions.h" +#include "scoped_temporary.h" #include "util.h" #include <curl/curl.h> #include <zip.h> @@ -37,8 +37,8 @@ using std::function; using std::list; using std::string; -using boost::optional; using boost::algorithm::trim; +using boost::optional; static size_t @@ -66,7 +66,7 @@ ls_url (string url) auto const cr = curl_easy_perform (curl); if (cr != CURLE_OK) { - return list<string>(); + return {}; } list<string> result; |
