git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@892447
283d02a7-25f6-0310-bc7c-
ecb5cbfe19da
public:
ByteVectorMirror(const ByteVector &source) : v(source) {}
- const char operator[](int index) const
+ char operator[](int index) const
{
return v[v.size() - index - 1];
}
- const char at(int index) const
+ char at(int index) const
{
return v.at(v.size() - index - 1);
}
inline unsigned short byteSwap(unsigned short x)
{
- return ((x) >> 8) & 0xff | ((x) & 0xff) << 8;
+ return (((x) >> 8) & 0xff) | (((x) & 0xff) << 8);
}
inline unsigned short combine(unsigned char c1, unsigned char c2)