summaryrefslogtreecommitdiff
path: root/ACE/ace/ETCL/ETCL_Constraint.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
commit3a135b20e2c3c3dd407b9b768a411645eca6a7e0 (patch)
tree71301b1d02a56c2137c4e4c1b378aea4acd139a7 /ACE/ace/ETCL/ETCL_Constraint.h
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
downloadATCD-3a135b20e2c3c3dd407b9b768a411645eca6a7e0.tar.gz
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/ETCL/ETCL_Constraint.h')
-rw-r--r--ACE/ace/ETCL/ETCL_Constraint.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/ace/ETCL/ETCL_Constraint.h b/ACE/ace/ETCL/ETCL_Constraint.h
index 1e4ddf7aac7..96dc8e1909b 100644
--- a/ACE/ace/ETCL/ETCL_Constraint.h
+++ b/ACE/ace/ETCL/ETCL_Constraint.h
@@ -262,16 +262,16 @@ private:
class ACE_ETCL_Export ETCL_Special : public ETCL_Constraint
{
public:
- ETCL_Special ();
+ ETCL_Special () = default;
ETCL_Special (int type);
- virtual ~ETCL_Special ();
+ ~ETCL_Special () override = default;
int type () const;
virtual int accept (ETCL_Constraint_Visitor *visitor);
private:
- int type_;
+ int type_ {};
};
class ACE_ETCL_Export ETCL_Component : public ETCL_Constraint
@@ -387,7 +387,7 @@ private:
class ACE_ETCL_Export ETCL_Preference : public ETCL_Constraint
{
public:
- ETCL_Preference ();
+ ETCL_Preference () = default;
ETCL_Preference (int type,
ETCL_Constraint *subexpr = 0);
virtual ~ETCL_Preference ();
@@ -398,8 +398,8 @@ public:
virtual int accept (ETCL_Constraint_Visitor *visitor);
private:
- int type_;
- ETCL_Constraint *subexpr_;
+ int type_ {};
+ ETCL_Constraint *subexpr_ {};
};
ACE_END_VERSIONED_NAMESPACE_DECL