リビジョン | 59da0b8eadb22736c1d49d6c4a6f596ce71122e6 (tree) |
---|---|
日時 | 2017-08-20 00:09:56 |
作者 | <exeal@user...> |
Removed the useless destructor of DocumentChange class.
@@ -58,7 +58,7 @@ | ||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * A changed content of the document. |
61 | - * @see DocumentListener, PositionUpdater | |
61 | + * @see DocumentListener, locations#updatePosition, viewer#locations#updateTextHit | |
62 | 62 | */ |
63 | 63 | class DocumentChange : private boost::noncopyable { |
64 | 64 | public: |
@@ -74,7 +74,6 @@ | ||
74 | 74 | const Region& insertedRegion() const BOOST_NOEXCEPT {return insertedRegion_;} |
75 | 75 | private: |
76 | 76 | explicit DocumentChange(const Region& erasedRegion, const Region& insertedRegion) BOOST_NOEXCEPT; |
77 | - ~DocumentChange() BOOST_NOEXCEPT; | |
78 | 77 | const Region erasedRegion_, insertedRegion_; |
79 | 78 | friend class Document; |
80 | 79 | }; |
@@ -140,10 +140,6 @@ | ||
140 | 140 | BOOST_NOEXCEPT : erasedRegion_(erasedRegion), insertedRegion_(insertedRegion) { |
141 | 141 | } |
142 | 142 | |
143 | - /// Private destructor. | |
144 | - DocumentChange::~DocumentChange() BOOST_NOEXCEPT { | |
145 | - } | |
146 | - | |
147 | 143 | |
148 | 144 | // DocumentPartitioner //////////////////////////////////////////////////////////////////////////////////////// |
149 | 145 |