inherit std::bitset<T> as private base class of QTimersSet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-11-25 02:05:45 +02:00
parent afd4b13ff8
commit 43b2471624

View file

@ -35,7 +35,7 @@ QT_BEGIN_NAMESPACE
// digit. could implement fallback to int-sized set if limit is reached
enum { QTimerMax = 2048 };
class QTimersSet : public std::bitset<QTimerMax>
class QTimersSet : private std::bitset<QTimerMax>
{
public:
void unsetBit(const int bit);