]> git.lyx.org Git - lyx.git/blobdiff - src/BackStack.h
Small fix.
[lyx.git] / src / BackStack.h
index 69b21695623d904225c42280a74d9b1391062cfb..d1dc6f973c96c70d1accce9e2294b5db0116b5dd 100644 (file)
@@ -15,8 +15,6 @@
 
 #include "LString.h"
 
-using std::stack;
-
 // Created by Alejandro Aguilar Sierra, 970806
 
 /**  Utility to get back from a reference or from a child document.
@@ -26,6 +24,9 @@ private:
        ///
        struct BackStackItem {
                ///
+               BackStackItem() 
+                       : x(0), y(0) {}
+               ///
                BackStackItem(string const & f, int xx, int yy)
                        : fname(f), x(xx), y(yy) {}
                /// Filename
@@ -55,7 +56,7 @@ public:
        }
 private:
        ///
-       stack<BackStackItem> stakk;
+       std::stack<BackStackItem> stakk;
 };
 
 #endif