fs/AllocatedPath: make the nullptr_t constructor public
This commit is contained in:
@@ -175,7 +175,7 @@ cdio_detect_device(void)
|
||||
char **devices = cdio_get_devices_with_cap(nullptr, CDIO_FS_AUDIO,
|
||||
false);
|
||||
if (devices == nullptr)
|
||||
return AllocatedPath::Null();
|
||||
return nullptr;
|
||||
|
||||
AllocatedPath path = AllocatedPath::FromFS(devices[0]);
|
||||
cdio_free_device_list(devices);
|
||||
|
Reference in New Issue
Block a user