diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-17 12:17:41 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-17 12:17:41 +0100 |
commit | bbc5212436021cd76f173ce60d7f0d95411d3319 (patch) | |
tree | a6b517c25799913d4cf7f3b5fbc95d143a9a53e3 /src/LocateUri.hxx | |
parent | c4f7740b800c49ad119e5d70335ea51a666e0114 (diff) |
fs/AllocatedPath: make the nullptr_t constructor public
Diffstat (limited to 'src/LocateUri.hxx')
-rw-r--r-- | src/LocateUri.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LocateUri.hxx b/src/LocateUri.hxx index aa216f35e..71c018061 100644 --- a/src/LocateUri.hxx +++ b/src/LocateUri.hxx @@ -67,7 +67,7 @@ struct LocatedUri { AllocatedPath path; LocatedUri(Type _type, const char *_uri, - AllocatedPath &&_path=AllocatedPath::Null()) + AllocatedPath &&_path=nullptr) :type(_type), canonical_uri(_uri), path(std::move(_path)) {} }; |