aboutsummaryrefslogtreecommitdiffstats
path: root/taglib/mpeg/id3v2/id3v2framefactory.cpp
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2015-11-20 22:21:47 +0900
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2015-11-20 22:21:47 +0900
commit8c6fe4545305472f286fb038d375540695aa49e2 (patch)
treeef1182c0f85c3c0c862b5003a6a1bce8c9687817 /taglib/mpeg/id3v2/id3v2framefactory.cpp
parentc4fe65787c8302ab7f0475a139b7fc10059a020b (diff)
Avoid using String::null where an empty string is required.
String::null is not necessarily be empty or remains the same instance. Using it in a public header may lead to a linkage error.
Diffstat (limited to 'taglib/mpeg/id3v2/id3v2framefactory.cpp')
-rw-r--r--taglib/mpeg/id3v2/id3v2framefactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/taglib/mpeg/id3v2/id3v2framefactory.cpp b/taglib/mpeg/id3v2/id3v2framefactory.cpp
index bf4b0ee8..f387e937 100644
--- a/taglib/mpeg/id3v2/id3v2framefactory.cpp
+++ b/taglib/mpeg/id3v2/id3v2framefactory.cpp
@@ -516,7 +516,7 @@ void FrameFactory::updateGenre(TextIdentificationFrame *frame) const
}
if(newfields.isEmpty())
- fields.append(String::null);
+ fields.append(String());
frame->setText(newfields);