diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 18:44:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 18:44:09 +0100 |
commit | b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f (patch) | |
tree | f78fc5b7b2ea337ffc306a77223018fcc780e507 /ACE/ace/ETCL/ETCL_Constraint.h | |
parent | 199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff) | |
parent | adc1dcda981a4c76612bedeba2dddb76aa272d6f (diff) | |
download | ATCD-b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f.tar.gz |
Merge pull request #1446 from jwillemsen/jwi-cpp11cleanup
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.h | 12 |
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 |