]> git.lyx.org Git - lyx.git/blobdiff - src/lyxvc.C
fix some C++ parsing bugs
[lyx.git] / src / lyxvc.C
index 7c7df6042f0e03fe4e4126996dd5e60341d85d37..ddf087580a90c681921398b4338cb6f5076be719 100644 (file)
@@ -1,9 +1,5 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "lyxvc.h"
 #include "vc-backend.h"
 #include "debug.h"
 using std::endl;
 using std::pair;
 
+/* WARNING: Several of the vcs-> methods end up
+ * deleting this object via BufferView::reload() !
+ */
+
 LyXVC::LyXVC()
 {
        vcs = 0;
@@ -177,7 +177,6 @@ void LyXVC::checkOut()
        }
 
        vcs->checkOut();
-
 }