From: Scott Wheeler Date: Thu, 28 Oct 2004 22:20:00 +0000 (+0000) Subject: CVS_SILENT this comment belongs here now X-Git-Tag: v1.5~309 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=200c608f4f99d3cbeaa9e5d50f8c3e9186c0ada8;p=taglib CVS_SILENT this comment belongs here now git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/toolkit/tbytevector.cpp b/toolkit/tbytevector.cpp index 8bd90615..de4ca6f9 100644 --- a/toolkit/tbytevector.cpp +++ b/toolkit/tbytevector.cpp @@ -28,6 +28,11 @@ // This is a bit ugly to keep writing over and over again. +// A rather obscure feature of the C++ spec that I hadn't thought of that makes +// working with C libs much more effecient. There's more here: +// +// http://www.informit.com/isapi/product_id~{9C84DAB4-FE6E-49C5-BB0A-FB50331233EA}/content/index.asp + #define DATA(x) (&(x->data[0])) namespace TagLib { @@ -326,11 +331,6 @@ void ByteVector::setData(const char *data) char *ByteVector::data() { - // A rather obscure feature of the C++ spec that I hadn't thought of that makes - // working with C libs much more effecient. There's more here: - // - // http://www.informit.com/isapi/product_id~{9C84DAB4-FE6E-49C5-BB0A-FB50331233EA}/content/index.asp - detach(); return DATA(d); }