aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MultLayers.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/MultLayers.hh')
-rw-r--r--src/FbTk/MultLayers.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/FbTk/MultLayers.hh b/src/FbTk/MultLayers.hh
index e502ed6..2e3915d 100644
--- a/src/FbTk/MultLayers.hh
+++ b/src/FbTk/MultLayers.hh
@@ -52,7 +52,6 @@ public:
52 52
53 void moveToLayer(XLayerItem &item, int layernum); 53 void moveToLayer(XLayerItem &item, int layernum);
54 int size(); 54 int size();
55 void restack();
56 55
57 XLayer *getLayer(size_t num); 56 XLayer *getLayer(size_t num);
58 const XLayer *getLayer(size_t num) const; 57 const XLayer *getLayer(size_t num) const;
@@ -62,10 +61,10 @@ public:
62 void unlock() { if (--m_lock == 0) restack(); } 61 void unlock() { if (--m_lock == 0) restack(); }
63 62
64private: 63private:
65 std::vector<XLayer *> m_layers; 64 void restack();
66 65
66 std::vector<XLayer *> m_layers;
67 int m_lock; 67 int m_lock;
68
69}; 68};
70 69
71}; 70};