diff options
| author | Nils Maier <maierman@web.de> | 2016-07-31 02:18:43 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2016-08-29 16:52:20 +0200 |
| commit | 366e2e8f795e82e2c8472bcf1cd0a892550789a9 (patch) | |
| tree | e00f9d25494c412b04234cda11caf79bfc73fcbf /src/IndexedList.h | |
| parent | 08f4b5e4f41b343753d440f32ccc213c40f3726b (diff) | |
Use default where possible
Diffstat (limited to 'src/IndexedList.h')
| -rw-r--r-- | src/IndexedList.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/IndexedList.h b/src/IndexedList.h index fae8d5e0..2fb64f96 100644 --- a/src/IndexedList.h +++ b/src/IndexedList.h @@ -63,7 +63,7 @@ struct IndexedListIterator { typedef typename SeqType::difference_type difference_type; typedef IndexedListIterator SelfType; - IndexedListIterator() {} + IndexedListIterator() = default; IndexedListIterator(const iterator& other) : p(other.p) {} IndexedListIterator(const SeqIteratorType& p) : p(p) {} @@ -305,8 +305,8 @@ operator-(const IndexedListIterator<SeqType, ValueType, ReferenceTypeL, template <typename KeyType, typename ValuePtrType> class IndexedList { public: - IndexedList() {} - ~IndexedList() {} + IndexedList() = default; + ~IndexedList() = default; typedef KeyType key_type; typedef ValuePtrType value_type; |
