use shared_c_ptr

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2546 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-08-18 11:41:41 +00:00
parent bee9718e4f
commit d203bbda3e
2 changed files with 8 additions and 2 deletions

View 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

View 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 &);