]> git.lyx.org Git - features.git/commitdiff
use shared_c_ptr
authorLars Gullik Bjønnes <larsbj@gullik.org>
Sat, 18 Aug 2001 11:41:41 +0000 (11:41 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Sat, 18 Aug 2001 11:41:41 +0000 (11:41 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2546 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormMathsBitmap.h

index 223eb57c6bb29a4cd946a33c4152488a1fd2d507..86d9de895eb491a5ad2db865bb033288bf490998 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * FormMathsBitmap.h: use the lyx::shared_c_ptr that uses free() to
+       cleanup.
+
 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
 
        * combox.h: fix source doc
index 4a3c6d07beba5b0976108092183f7ac183ea18a3..0370b5afbf5d70a7b93e2d5da586d62c5bf0cbf9 100644 (file)
@@ -13,7 +13,8 @@
 #define FORM_MATHSBITMAP_H
 
 #include <vector>
-#include <boost/smart_ptr.hpp>
+//#include <boost/smart_ptr.hpp>
+#include "support/smart_ptr.h"
 
 #ifdef __GNUG__
 #pragma interface
@@ -30,7 +31,7 @@ class FormMathsBitmap : public FormMathsSub {
 
   public:
        ///
-       typedef boost::shared_ptr<FL_OBJECT> bm_ptr;
+       typedef lyx::shared_c_ptr<FL_OBJECT> bm_ptr;
        ///
        FormMathsBitmap(LyXView *, Dialogs * d, FormMathsPanel const &,
                        std::vector<string> const &);