Closed examyes closed 8 years ago
Please note that the every mentioned Q_DISABLE_COPY macro is called at the very beginning of the declaration of classes.
class CUTELOGGERSHARED_EXPORT Logger
{
Q_DISABLE_COPY(Logger)
public:
Every function declaration in a class without an access specifier before it is considered private by default in C++. So, actually, the current implementation is perfectly fine and does exactly what it meant to do. Thanks for the suggestion though.
this is how Q_DISABLE_COPY being declared in qglobal.h: