diff options
author | Rico Antonio Felix <ricoantoniofelix@yahoo.com> | 2015-06-23 21:51:57 -0400 |
---|---|---|
committer | Rico Antonio Felix <ricoantoniofelix@yahoo.com> | 2015-06-23 21:51:57 -0400 |
commit | 37cbc7cbf20837e3630d33bd9ce6498b2849514f (patch) | |
tree | f0a7771774ac8171cbe280933e1aac9649753170 | |
parent | 45b3f8c27c32964c166200379ce5960cb59ec7d1 (diff) |
Refactored Constant::~Constant() to use C++ default keyword instead of
an empty body to clarify intent
-rw-r--r-- | include/constant.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/constant.h b/include/constant.h index 9ff2882..1326c5e 100644 --- a/include/constant.h +++ b/include/constant.h @@ -100,7 +100,7 @@ public: /** * Destructor */ - virtual ~Constant() {} + virtual ~Constant() = default; /** * Add the constant to a class |