aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/NetUtils.hpp2
-rw-r--r--include/Path.hpp7
2 files changed, 2 insertions, 7 deletions
diff --git a/include/NetUtils.hpp b/include/NetUtils.hpp
index 84b9d18..4770fb4 100644
--- a/include/NetUtils.hpp
+++ b/include/NetUtils.hpp
@@ -7,5 +7,5 @@ namespace QuickMedia {
void html_escape_sequences(std::string &str);
void html_unescape_sequences(std::string &str);
std::string url_param_encode(const std::string &param);
- std::vector<std::string> extract_urls(const std::string &str);
+ void extract_urls(const std::string &str, std::vector<std::string> &urls);
} \ No newline at end of file
diff --git a/include/Path.hpp b/include/Path.hpp
index 95a5d23..d26f605 100644
--- a/include/Path.hpp
+++ b/include/Path.hpp
@@ -6,14 +6,9 @@ namespace QuickMedia {
class Path {
public:
Path() = default;
- ~Path() = default;
- Path(const Path &other) = default;
- Path& operator=(const Path &other) = default;
+
Path(const char *path) : data(path) {}
Path(const std::string &path) : data(path) {}
- Path(Path &&other) {
- data = std::move(other.data);
- }
Path& join(const Path &other) {
data += "/";