]> git.lyx.org Git - features.git/blobdiff - src/coordcache.h
My six month cleanup crusade is now paying off: LyX has now multiple windows support!
[features.git] / src / coordcache.h
index 4adf25ac39f93facd075707418c19019660db268..d5ac02f6eb220ce1f65433195c0118fa6f193507 100644 (file)
@@ -45,6 +45,11 @@ public:
                data_.clear();
        }
 
+       bool const empty() const
+       {
+               return data_.empty();
+       }
+
        void add(T const * thing, int x, int y)
        {
                data_[thing] = Point(x, y);