]> git.lyx.org Git - lyx.git/blobdiff - src/InsetList.cpp
fix MSVC warning.
[lyx.git] / src / InsetList.cpp
index 50c40f710dc3cf0f8a71c273f42ba6106000e6ff..c3d2805511a269bf4b4291e8cebad68d4d9bdf16 100644 (file)
@@ -138,8 +138,9 @@ void InsetList::decreasePosAfterPos(pos_type pos)
 }
 
 
-void InsetList::clone()
+InsetList::InsetList(InsetList const & il)
 {
+       list_ = il.list_;
        List::iterator it = list_.begin();
        List::iterator end = list_.end();
        for (; it != end; ++it)