]> git.lyx.org Git - lyx.git/blobdiff - src/lyxvc.h
Partly fix for bug 1231
[lyx.git] / src / lyxvc.h
index 8c929f23fafaa0cf8aa14f68d413262b9636f684..7c9b22f89fd18b88be059be2d5c19786a8502c7d 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef LYX_VC_H
 #define LYX_VC_H
 
+#include <boost/scoped_ptr.hpp>
+
 #include <string>
 
 
@@ -100,7 +102,7 @@ private:
        Buffer * owner_;
 
        ///
-       VCS * vcs;
+       boost::scoped_ptr<VCS> vcs;
 };
 
 #endif