GCC/Clang warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-19 23:08:20 +03:00
parent 939be86aec
commit a21e037de8

View File

@ -811,6 +811,10 @@ struct DXFLIB_EXPORT DL_MTextData
}; };
#ifdef Q_CC_CLANG
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wweak-vtables"
#endif
/** /**
* Text Data. * Text Data.
@ -841,7 +845,7 @@ struct DXFLIB_EXPORT DL_TextData
angle(angle) angle(angle)
{} {}
~DL_TextData() virtual ~DL_TextData()
{} {}
DL_TextData(const DL_TextData &data) DL_TextData(const DL_TextData &data)
@ -934,13 +938,17 @@ struct DXFLIB_EXPORT DL_AttributeData : public DL_TextData
tag(tag) tag(tag)
{} {}
~DL_AttributeData() virtual ~DL_AttributeData()
{} {}
/*! Tag. */ /*! Tag. */
std::string tag; std::string tag;
}; };
#ifdef Q_CC_CLANG
#pragma clang diagnostic pop
#endif
/** /**
* Generic Dimension Data. * Generic Dimension Data.
*/ */