diff options
Diffstat (limited to 'raul')
-rw-r--r-- | raul/URI.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/URI.hpp b/raul/URI.hpp index 2a032fa..18e15ad 100644 --- a/raul/URI.hpp +++ b/raul/URI.hpp @@ -46,7 +46,7 @@ public: * It is a fatal error to construct a URI from an invalid string, * use is_valid first to check. */ - URI(const std::basic_string<char>& uri) : std::basic_string<char>(uri) { + URI(const std::basic_string<char>& uri="nil:0") : std::basic_string<char>(uri) { if (!is_valid(uri)) throw BadURI(uri); } |