summaryrefslogtreecommitdiffstats
path: root/raul/URI.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-06-03 04:16:04 +0000
committerDavid Robillard <d@drobilla.net>2009-06-03 04:16:04 +0000
commit37ab018196ef967b78d005562e807ea645f6053b (patch)
tree7d69bb14f7e468e92746f6c5ef5f7f3d046659d1 /raul/URI.hpp
parente82db8c45ba9bbc21fa5018994b834ece69d35db (diff)
downloadraul-37ab018196ef967b78d005562e807ea645f6053b.tar.gz
raul-37ab018196ef967b78d005562e807ea645f6053b.tar.bz2
raul-37ab018196ef967b78d005562e807ea645f6053b.zip
Update bindings.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2079 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'raul/URI.hpp')
-rw-r--r--raul/URI.hpp2
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);
}