summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-06-23 21:51:57 -0400
committerRico Antonio Felix <ricoantoniofelix@yahoo.com>2015-06-23 21:51:57 -0400
commit37cbc7cbf20837e3630d33bd9ce6498b2849514f (patch)
treef0a7771774ac8171cbe280933e1aac9649753170
parent45b3f8c27c32964c166200379ce5960cb59ec7d1 (diff)
Refactored Constant::~Constant() to use C++ default keyword instead of
an empty body to clarify intent
-rw-r--r--include/constant.h2
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