Revert "#1292 Fixed CppCheck Issues in ProjectDataModel : Added assert"

This reverts commit cff588f166.
This commit is contained in:
Magne Sjaastad 2017-03-07 12:09:26 +01:00
parent cff588f166
commit 6a3f3e3670

View File

@ -101,7 +101,6 @@ class PdmObjectCapability;
\
static bool chekingThePresenceOfHeaderAndSourceInitMacros = \
Error_You_forgot_to_add_the_macro_CAF_PDM_XML_HEADER_INIT_and_or_CAF_PDM_XML_SOURCE_INIT_to_your_cpp_file_for_this_class(); \
assert(chekingThePresenceOfHeaderAndSourceInitMacros); \
this->isInheritedFromPdmUiObject(); \
this->isInheritedFromPdmXmlSerializable(); \
\
@ -120,7 +119,6 @@ class PdmObjectCapability;
\
static bool chekingThePresenceOfHeaderAndSourceInitMacros = \
Error_You_forgot_to_add_the_macro_CAF_PDM_XML_HEADER_INIT_and_or_CAF_PDM_XML_SOURCE_INIT_to_your_cpp_file_for_this_class(); \
assert(chekingThePresenceOfHeaderAndSourceInitMacros); \
this->isInheritedFromPdmUiObject(); \
this->isInheritedFromPdmXmlSerializable(); \
\