コミットメタ情報

リビジョン59da0b8eadb22736c1d49d6c4a6f596ce71122e6 (tree)
日時2017-08-20 00:09:56
作者 <exeal@user...>

ログメッセージ

Removed the useless destructor of DocumentChange class.

変更サマリ

差分

diff -r b8b2b0943903 -r 59da0b8eadb2 ascension/ascension/kernel/document.hpp
--- a/ascension/ascension/kernel/document.hpp Sat Aug 19 23:47:29 2017 +0900
+++ b/ascension/ascension/kernel/document.hpp Sun Aug 20 00:09:56 2017 +0900
@@ -58,7 +58,7 @@
5858
5959 /**
6060 * A changed content of the document.
61- * @see DocumentListener, PositionUpdater
61+ * @see DocumentListener, locations#updatePosition, viewer#locations#updateTextHit
6262 */
6363 class DocumentChange : private boost::noncopyable {
6464 public:
@@ -74,7 +74,6 @@
7474 const Region& insertedRegion() const BOOST_NOEXCEPT {return insertedRegion_;}
7575 private:
7676 explicit DocumentChange(const Region& erasedRegion, const Region& insertedRegion) BOOST_NOEXCEPT;
77- ~DocumentChange() BOOST_NOEXCEPT;
7877 const Region erasedRegion_, insertedRegion_;
7978 friend class Document;
8079 };
diff -r b8b2b0943903 -r 59da0b8eadb2 ascension/src/kernel/document.cpp
--- a/ascension/src/kernel/document.cpp Sat Aug 19 23:47:29 2017 +0900
+++ b/ascension/src/kernel/document.cpp Sun Aug 20 00:09:56 2017 +0900
@@ -140,10 +140,6 @@
140140 BOOST_NOEXCEPT : erasedRegion_(erasedRegion), insertedRegion_(insertedRegion) {
141141 }
142142
143- /// Private destructor.
144- DocumentChange::~DocumentChange() BOOST_NOEXCEPT {
145- }
146-
147143
148144 // DocumentPartitioner ////////////////////////////////////////////////////////////////////////////////////////
149145
旧リポジトリブラウザで表示