mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Revert "Hide a private static variable."
This reverts commit 25ffbcb4b9b04326edd1d25a785b686951a0f235. # Conflicts: # taglib/mpeg/id3v2/id3v2framefactory.cpp # taglib/mpeg/id3v2/id3v2framefactory.h
This commit is contained in:
parent
31f3109b47
commit
0a85f9b227
@ -102,13 +102,14 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
FrameFactory FrameFactory::factory;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// public members
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
FrameFactory *FrameFactory::instance()
|
||||
{
|
||||
static FrameFactory factory;
|
||||
return &factory;
|
||||
}
|
||||
|
||||
@ -538,4 +539,3 @@ bool FrameFactory::updateFrame(Frame::Header *header) const
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -66,7 +66,6 @@ namespace TagLib {
|
||||
{
|
||||
public:
|
||||
static FrameFactory *instance();
|
||||
|
||||
/*!
|
||||
* Create a frame based on \a data. \a synchSafeInts should only be set
|
||||
* false if we are parsing an old tag (v2.3 or older) that does not support
|
||||
@ -153,6 +152,8 @@ namespace TagLib {
|
||||
FrameFactory(const FrameFactory &);
|
||||
FrameFactory &operator=(const FrameFactory &);
|
||||
|
||||
static FrameFactory factory;
|
||||
|
||||
class FrameFactoryPrivate;
|
||||
FrameFactoryPrivate *d;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user