core: Declare empty constructor as = default in attribute-helper.h
This commit is contained in:
committed by
Gabriel Ferreira
parent
e266e0a2c8
commit
03f04681f5
@@ -204,7 +204,7 @@ MakeSimpleAttributeChecker(std::string name, std::string underlying)
|
||||
class name##Value : public AttributeValue \
|
||||
{ \
|
||||
public: \
|
||||
name##Value(); \
|
||||
name##Value() = default; \
|
||||
name##Value(const type& value); \
|
||||
void Set(const type& value); \
|
||||
type Get() const; \
|
||||
@@ -292,10 +292,6 @@ MakeSimpleAttributeChecker(std::string name, std::string underlying)
|
||||
* Typically invoked in the source file
|
||||
*/
|
||||
#define ATTRIBUTE_VALUE_IMPLEMENT_WITH_NAME(type, name) \
|
||||
name##Value::name##Value() \
|
||||
: m_value() \
|
||||
{ \
|
||||
} \
|
||||
name##Value::name##Value(const type& value) \
|
||||
: m_value(value) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user