C++20 fixes.

u8"" no longer produces a char*.  Use "" instead, which also accepts
UTF-8 literals.

Bug: chromium:1284275
Change-Id: Ida84b82670eb1238a606d3fe8c4eb40fbc23165e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/263760
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Reviewed-by: Mark Foltz <mfoltz@chromium.org>
Commit-Queue: Mark Foltz <mfoltz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#37005}
This commit is contained in:
Peter Kasting 2022-05-25 18:38:02 +00:00 committed by WebRTC LUCI CQ
parent 01ab7d501b
commit a313ff5bde

View File

@ -21,33 +21,33 @@ namespace webrtc {
namespace { namespace {
static constexpr const char* kPowerPointSlideShowTitles[] = { static constexpr const char* kPowerPointSlideShowTitles[] = {
u8"PowerPoint-Bildschirmpräsentation", "PowerPoint-Bildschirmpräsentation",
u8"Προβολή παρουσίασης PowerPoint", "Προβολή παρουσίασης PowerPoint",
u8"PowerPoint スライド ショー", "PowerPoint スライド ショー",
u8"PowerPoint Slide Show", "PowerPoint Slide Show",
u8"PowerPoint 幻灯片放映", "PowerPoint 幻灯片放映",
u8"Presentación de PowerPoint", "Presentación de PowerPoint",
u8"PowerPoint-slideshow", "PowerPoint-slideshow",
u8"Presentazione di PowerPoint", "Presentazione di PowerPoint",
u8"Prezentácia programu PowerPoint", "Prezentácia programu PowerPoint",
u8"Apresentação do PowerPoint", "Apresentação do PowerPoint",
u8"PowerPoint-bildspel", "PowerPoint-bildspel",
u8"Prezentace v aplikaci PowerPoint", "Prezentace v aplikaci PowerPoint",
u8"PowerPoint 슬라이드 쇼", "PowerPoint 슬라이드 쇼",
u8"PowerPoint-lysbildefremvisning", "PowerPoint-lysbildefremvisning",
u8"PowerPoint-vetítés", "PowerPoint-vetítés",
u8"PowerPoint Slayt Gösterisi", "PowerPoint Slayt Gösterisi",
u8"Pokaz slajdów programu PowerPoint", "Pokaz slajdów programu PowerPoint",
u8"PowerPoint 投影片放映", "PowerPoint 投影片放映",
u8"Демонстрация PowerPoint", "Демонстрация PowerPoint",
u8"Diaporama PowerPoint", "Diaporama PowerPoint",
u8"PowerPoint-diaesitys", "PowerPoint-diaesitys",
u8"Peragaan Slide PowerPoint", "Peragaan Slide PowerPoint",
u8"PowerPoint-diavoorstelling", "PowerPoint-diavoorstelling",
u8"การนำเสนอสไลด์ PowerPoint", "การนำเสนอสไลด์ PowerPoint",
u8"Apresentação de slides do PowerPoint", "Apresentação de slides do PowerPoint",
u8"הצגת שקופיות של PowerPoint", "הצגת שקופיות של PowerPoint",
u8"عرض شرائح في PowerPoint"}; "عرض شرائح في PowerPoint"};
class FullScreenMacApplicationHandler : public FullScreenApplicationHandler { class FullScreenMacApplicationHandler : public FullScreenApplicationHandler {
public: public: