]> git.lyx.org Git - features.git/commitdiff
Buffer::pimpl_: replace scoped_ptr with a simple pointer.
authorAbdelrazak Younes <younes@lyx.org>
Tue, 2 Oct 2007 09:16:54 +0000 (09:16 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Tue, 2 Oct 2007 09:16:54 +0000 (09:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20657 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp
src/Buffer.h

index f229bcac9bbdbb0d2429d5390420e58259a87ded..c7dd9cdebed5e4e1e07438a025cf2bd3e3e00958 100644 (file)
@@ -265,6 +265,7 @@ Buffer::~Buffer()
                pimpl_->wa_->closeAll();
                delete pimpl_->wa_;
        }
+       delete pimpl_;
 }
 
 
index fe8c93f251cb9b9c0e88fbc408a1759544908927..81e52d2517da0839b8cfcc67ce9cf2609bb476f5 100644 (file)
@@ -20,7 +20,6 @@
 #include "support/docstring.h"
 #include "support/docstream.h"
 
-#include <boost/scoped_ptr.hpp>
 #include <boost/signal.hpp>
 
 #include <iosfwd>
@@ -422,7 +421,7 @@ private:
        /// Use the Pimpl idiom to hide the internals.
        class Impl;
        /// The pointer never changes although *pimpl_'s contents may.
-       boost::scoped_ptr<Impl> const pimpl_;
+       Impl * const pimpl_;
 
        /// A cache for the bibfiles (including bibfiles of loaded child
        /// documents), needed for appropriate update of natbib labels.