B
bhavya internship
Guest
Hello all,
I am getting the below warning message at the ErVerificationJob constructor
Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member m_eErVerificationType is not initialized in this constructor nor in any functions that it calls.
ErVerificationJob::ErVerificationJob()
{
}
Below is the complete code:
ErVerificationJob.h
namespace ErVerification
{
class ErVerificationJob : public ErJobBase
{
private:
ErVerificationUtils::ErVerificationType m_eErVerificationType;
public:
ErVerificationJob();
~ErVerificationJob();
};
}
ErVerificationJob.cpp
ErVerificationJob::ErVerificationJob()
{
}
ErVerificationJobUtils.h
namespace ErVerificationUtils
{
enum ErVerificationType
{
PREINSTALL = 1,
POSTINSTALL = 2
};
}
Could anyone please help me how to resolve this warning?
Continue reading...
I am getting the below warning message at the ErVerificationJob constructor
Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member m_eErVerificationType is not initialized in this constructor nor in any functions that it calls.
ErVerificationJob::ErVerificationJob()
{
}
Below is the complete code:
ErVerificationJob.h
namespace ErVerification
{
class ErVerificationJob : public ErJobBase
{
private:
ErVerificationUtils::ErVerificationType m_eErVerificationType;
public:
ErVerificationJob();
~ErVerificationJob();
};
}
ErVerificationJob.cpp
ErVerificationJob::ErVerificationJob()
{
}
ErVerificationJobUtils.h
namespace ErVerificationUtils
{
enum ErVerificationType
{
PREINSTALL = 1,
POSTINSTALL = 2
};
}
Could anyone please help me how to resolve this warning?
Continue reading...