]> git.lyx.org Git - lyx.git/blobdiff - src/BackStack.h
Small fix.
[lyx.git] / src / BackStack.h
index 255b84f842ba13d636a04191ef51eb03f65d4278..d1dc6f973c96c70d1accce9e2294b5db0116b5dd 100644 (file)
@@ -12,7 +12,6 @@
 #define BACK_STACK_H
 
 #include <stack>
-using std::stack;
 
 #include "LString.h"
 
@@ -25,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
@@ -54,7 +56,7 @@ public:
        }
 private:
        ///
-       stack<BackStackItem> stakk;
+       std::stack<BackStackItem> stakk;
 };
 
 #endif