diff options
author | Max Kellermann <max@duempel.org> | 2014-12-03 21:38:06 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-03 21:38:06 +0100 |
commit | 050f0c3d8f374011eb8199254714fdba9a78c49f (patch) | |
tree | 511d9e6acc9dc09d801a937d92b0bd723298a011 /src/decoder/plugins | |
parent | 90e6c727da8ccfbc5c82fbca4c58a7c12a9c11f0 (diff) | |
download | mpd-050f0c3d8f374011eb8199254714fdba9a78c49f.tar.gz mpd-050f0c3d8f374011eb8199254714fdba9a78c49f.tar.xz mpd-050f0c3d8f374011eb8199254714fdba9a78c49f.zip |
util/SplitString: rename to DivideString
Diffstat (limited to 'src/decoder/plugins')
-rw-r--r-- | src/decoder/plugins/FlacMetadata.cxx | 4 | ||||
-rw-r--r-- | src/decoder/plugins/VorbisComments.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder/plugins/FlacMetadata.cxx b/src/decoder/plugins/FlacMetadata.cxx index 03e276dce..86c6da04b 100644 --- a/src/decoder/plugins/FlacMetadata.cxx +++ b/src/decoder/plugins/FlacMetadata.cxx @@ -30,7 +30,7 @@ #include "tag/MixRamp.hxx" #include "ReplayGainInfo.hxx" #include "util/ASCII.hxx" -#include "util/SplitString.hxx" +#include "util/DivideString.hxx" bool flac_parse_replay_gain(ReplayGainInfo &rgi, @@ -97,7 +97,7 @@ flac_scan_comment(const FLAC__StreamMetadata_VorbisComment_Entry *entry, { if (handler->pair != nullptr) { const char *comment = (const char *)entry->entry; - const SplitString split(comment, '='); + const DivideString split(comment, '='); if (split.IsDefined() && !split.IsEmpty()) tag_handler_invoke_pair(handler, handler_ctx, split.GetFirst(), diff --git a/src/decoder/plugins/VorbisComments.cxx b/src/decoder/plugins/VorbisComments.cxx index 062f46acf..10652f129 100644 --- a/src/decoder/plugins/VorbisComments.cxx +++ b/src/decoder/plugins/VorbisComments.cxx @@ -27,7 +27,7 @@ #include "tag/ReplayGain.hxx" #include "ReplayGainInfo.hxx" #include "util/ASCII.hxx" -#include "util/SplitString.hxx" +#include "util/DivideString.hxx" #include <stddef.h> #include <stdlib.h> @@ -74,7 +74,7 @@ vorbis_scan_comment(const char *comment, const struct tag_handler *handler, void *handler_ctx) { if (handler->pair != nullptr) { - const SplitString split(comment, '='); + const DivideString split(comment, '='); if (split.IsDefined() && !split.IsEmpty()) tag_handler_invoke_pair(handler, handler_ctx, split.GetFirst(), |