]> granicus.if.org Git - taglib/commitdiff
Restore the ABI breakage by bringing back a removed private static variable.
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Wed, 19 Oct 2016 06:57:28 +0000 (15:57 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Wed, 19 Oct 2016 06:57:28 +0000 (15:57 +0900)
taglib/toolkit/tstring.cpp
taglib/toolkit/tstring.h

index 01a69266b5cecd659bc2c191d7e107e870a3f976..83287905f010493400b287d80fa4f4835e70adf7 100644 (file)
@@ -787,6 +787,12 @@ void String::detach()
   if(d->count() > 1)
     String(d->data.c_str()).swap(*this);
 }
+
+////////////////////////////////////////////////////////////////////////////////
+// private members
+////////////////////////////////////////////////////////////////////////////////
+
+const String::Type String::WCharByteOrder = wcharByteOrder();
 }
 
 ////////////////////////////////////////////////////////////////////////////////
index 97e9ff66e2575dae51e2a1cc0d5160bcc9d70e26..b1be04b8c44d14fdb3311711393e70486d45663a 100644 (file)
@@ -536,6 +536,13 @@ namespace TagLib {
     void detach();
 
   private:
+    /*!
+     * \deprecated This variable is no longer used, but NEVER remove this. It
+     * may lead to a linkage error.
+     */
+     // BIC: remove
+    static const Type WCharByteOrder;
+
     class StringPrivate;
     StringPrivate *d;
   };