summaryrefslogtreecommitdiffstats
path: root/raul/URI.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-16 10:30:44 +0100
committerDavid Robillard <d@drobilla.net>2017-12-16 10:30:44 +0100
commitfc22583b1174c9b5e6d0364240431eaca932440d (patch)
tree4d7ac03769a3860c07563621197825cfab14244e /raul/URI.hpp
parent4db870b2b20b0a608ec0283139056b836c5b1624 (diff)
downloadraul-fc22583b1174c9b5e6d0364240431eaca932440d.tar.gz
raul-fc22583b1174c9b5e6d0364240431eaca932440d.tar.bz2
raul-fc22583b1174c9b5e6d0364240431eaca932440d.zip
Fix various warnings
Diffstat (limited to 'raul/URI.hpp')
-rw-r--r--raul/URI.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/raul/URI.hpp b/raul/URI.hpp
index 84b5497..7bf2763 100644
--- a/raul/URI.hpp
+++ b/raul/URI.hpp
@@ -66,9 +66,9 @@ public:
* Note this is faster than constructing a URI from another URI's string
* since validation is unnecessary.
*/
- URI(const URI& uri)
- : std::basic_string<char>(uri)
- {}
+ URI(const URI& uri) = default;
+
+ URI& operator=(const URI& uri) = default;
/** Return true iff `c` is a valid URI start character. */
static inline bool is_valid_start_char(char c) {