From 502e5f006acd7b9fcb25d43673b91009cf3f7e1d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 4 Jul 2022 14:44:23 +0200 Subject: [PATCH] decoder/*: use std::string_view instead of StringView --- src/decoder/plugins/AdPlugDecoderPlugin.cxx | 1 - src/decoder/plugins/DsdiffDecoderPlugin.cxx | 1 - src/decoder/plugins/FfmpegMetaData.cxx | 1 - src/decoder/plugins/GmeDecoderPlugin.cxx | 1 - src/decoder/plugins/MikmodDecoderPlugin.cxx | 1 - src/decoder/plugins/ModplugDecoderPlugin.cxx | 1 - src/decoder/plugins/Mpg123DecoderPlugin.cxx | 1 - src/decoder/plugins/OpenmptDecoderPlugin.cxx | 1 - src/decoder/plugins/SidplayDecoderPlugin.cxx | 1 - src/decoder/plugins/SndfileDecoderPlugin.cxx | 1 - src/input/IcyInputStream.cxx | 1 - src/input/plugins/CurlInputPlugin.cxx | 1 - src/output/plugins/AlsaOutputPlugin.cxx | 1 - 13 files changed, 13 deletions(-) diff --git a/src/decoder/plugins/AdPlugDecoderPlugin.cxx b/src/decoder/plugins/AdPlugDecoderPlugin.cxx index 3444ed0d8..07a761cfd 100644 --- a/src/decoder/plugins/AdPlugDecoderPlugin.cxx +++ b/src/decoder/plugins/AdPlugDecoderPlugin.cxx @@ -23,7 +23,6 @@ #include "pcm/CheckAudioFormat.hxx" #include "fs/Path.hxx" #include "util/Domain.hxx" -#include "util/StringView.hxx" #include "Log.hxx" #include diff --git a/src/decoder/plugins/DsdiffDecoderPlugin.cxx b/src/decoder/plugins/DsdiffDecoderPlugin.cxx index b8fbc8c0d..54412af20 100644 --- a/src/decoder/plugins/DsdiffDecoderPlugin.cxx +++ b/src/decoder/plugins/DsdiffDecoderPlugin.cxx @@ -33,7 +33,6 @@ #include "pcm/CheckAudioFormat.hxx" #include "util/BitReverse.hxx" #include "util/ByteOrder.hxx" -#include "util/StringView.hxx" #include "tag/Handler.hxx" #include "DsdLib.hxx" diff --git a/src/decoder/plugins/FfmpegMetaData.cxx b/src/decoder/plugins/FfmpegMetaData.cxx index 54fef3136..8c6288180 100644 --- a/src/decoder/plugins/FfmpegMetaData.cxx +++ b/src/decoder/plugins/FfmpegMetaData.cxx @@ -24,7 +24,6 @@ #include "tag/Table.hxx" #include "tag/Handler.hxx" #include "tag/Id3MusicBrainz.hxx" -#include "util/StringView.hxx" extern "C" { #include diff --git a/src/decoder/plugins/GmeDecoderPlugin.cxx b/src/decoder/plugins/GmeDecoderPlugin.cxx index 66d35a5fa..ab108b912 100644 --- a/src/decoder/plugins/GmeDecoderPlugin.cxx +++ b/src/decoder/plugins/GmeDecoderPlugin.cxx @@ -31,7 +31,6 @@ #include "util/ScopeExit.hxx" #include "util/StringCompare.hxx" #include "util/StringFormat.hxx" -#include "util/StringView.hxx" #include "util/Domain.hxx" #include "Log.hxx" diff --git a/src/decoder/plugins/MikmodDecoderPlugin.cxx b/src/decoder/plugins/MikmodDecoderPlugin.cxx index 0f0cb3a6a..f5f92fafd 100644 --- a/src/decoder/plugins/MikmodDecoderPlugin.cxx +++ b/src/decoder/plugins/MikmodDecoderPlugin.cxx @@ -25,7 +25,6 @@ #include "fs/Path.hxx" #include "util/Domain.hxx" #include "util/RuntimeError.hxx" -#include "util/StringView.hxx" #include "Log.hxx" #include "Version.h" diff --git a/src/decoder/plugins/ModplugDecoderPlugin.cxx b/src/decoder/plugins/ModplugDecoderPlugin.cxx index f6e017888..834d30e5d 100644 --- a/src/decoder/plugins/ModplugDecoderPlugin.cxx +++ b/src/decoder/plugins/ModplugDecoderPlugin.cxx @@ -24,7 +24,6 @@ #include "tag/Handler.hxx" #include "util/Domain.hxx" #include "util/RuntimeError.hxx" -#include "util/StringView.hxx" #include "Log.hxx" #ifdef _WIN32 diff --git a/src/decoder/plugins/Mpg123DecoderPlugin.cxx b/src/decoder/plugins/Mpg123DecoderPlugin.cxx index 00bbef138..cf506b032 100644 --- a/src/decoder/plugins/Mpg123DecoderPlugin.cxx +++ b/src/decoder/plugins/Mpg123DecoderPlugin.cxx @@ -27,7 +27,6 @@ #include "fs/Path.hxx" #include "util/Domain.hxx" #include "util/ScopeExit.hxx" -#include "util/StringView.hxx" #include "Log.hxx" #include diff --git a/src/decoder/plugins/OpenmptDecoderPlugin.cxx b/src/decoder/plugins/OpenmptDecoderPlugin.cxx index 12508d2c3..b079c0102 100644 --- a/src/decoder/plugins/OpenmptDecoderPlugin.cxx +++ b/src/decoder/plugins/OpenmptDecoderPlugin.cxx @@ -26,7 +26,6 @@ #include "tag/Type.h" #include "util/Domain.hxx" #include "util/RuntimeError.hxx" -#include "util/StringView.hxx" #include "Log.hxx" #include diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index 8a7650f91..266b12bd6 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -31,7 +31,6 @@ #include "util/RuntimeError.hxx" #endif #include "util/StringFormat.hxx" -#include "util/StringView.hxx" #include "util/Domain.hxx" #include "util/AllocatedString.hxx" #include "util/CharUtil.hxx" diff --git a/src/decoder/plugins/SndfileDecoderPlugin.cxx b/src/decoder/plugins/SndfileDecoderPlugin.cxx index 1dedf8bd9..253aef585 100644 --- a/src/decoder/plugins/SndfileDecoderPlugin.cxx +++ b/src/decoder/plugins/SndfileDecoderPlugin.cxx @@ -24,7 +24,6 @@ #include "tag/Handler.hxx" #include "util/Domain.hxx" #include "util/ScopeExit.hxx" -#include "util/StringView.hxx" #include "Log.hxx" #include diff --git a/src/input/IcyInputStream.cxx b/src/input/IcyInputStream.cxx index 26aa3bf20..03424a708 100644 --- a/src/input/IcyInputStream.cxx +++ b/src/input/IcyInputStream.cxx @@ -22,7 +22,6 @@ #include "tag/Tag.hxx" #include "util/UriExtract.hxx" #include "util/UriQueryParser.hxx" -#include "util/StringView.hxx" #include diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index 8319d7944..e585d82ae 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -36,7 +36,6 @@ #include "event/Loop.hxx" #include "util/ASCII.hxx" #include "util/StringFormat.hxx" -#include "util/StringView.hxx" #include "util/NumberParser.hxx" #include "util/Domain.hxx" #include "Log.hxx" diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx index 25df4c920..5b191ee47 100644 --- a/src/output/plugins/AlsaOutputPlugin.cxx +++ b/src/output/plugins/AlsaOutputPlugin.cxx @@ -36,7 +36,6 @@ #include "util/RuntimeError.hxx" #include "util/Domain.hxx" #include "util/ConstBuffer.hxx" -#include "util/StringView.hxx" #include "event/MultiSocketMonitor.hxx" #include "event/InjectEvent.hxx" #include "event/FineTimerEvent.hxx"