]> git.lyx.org Git - features.git/blobdiff - src/coordcache.C
MacOSX compile fix: The class Point conflicted with a struct defined in MacTypes.h.
[features.git] / src / coordcache.C
index 262aaa7d8a7ff9b687b707f53f1d97840265aea5..f3647189fb6a8addab0b83081bb19c85857e6333 100644 (file)
@@ -19,6 +19,8 @@
 #include <boost/assert.hpp>
 
 
+namespace lyx {
+
 // just a helper to be able to set a breakpoint
 void lyxbreaker(void const * data, const char * hint, int size)
 {
@@ -46,3 +48,5 @@ Point CoordCache::get(LyXText const * text, lyx::pit_type pit)
        BOOST_ASSERT(posit != it->second.end());
        return posit->second;
 }
+
+} // namespace lyx