Fix returning nullptr where now a std::string_view is required

This commit is contained in:
Martchus 2021-02-01 17:10:01 +01:00
parent 64d98f5530
commit 78439e2e3f
2 changed files with 2 additions and 2 deletions

View File

@ -450,7 +450,7 @@ std::string_view channelConfigString(std::uint8_t config)
case FrontCenterFrontLeftFrontRightSideLeftSideRightBackLeftBackRightLFEChannel:
return "8 channels: front-center, front-left, front-right, side-left, side-right, back-left, back-right, LFE-channel";
default:
return nullptr;
return std::string_view();
}
}

View File

@ -26,7 +26,7 @@ std::string_view mpegChannelModeString(MpegChannelMode channelMode)
case MpegChannelMode::SingleChannel:
return "1 channel: single channel";
default:
return nullptr;
return std::string_view();
}
}