X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FToc.h;h=bd6bdf2d4bffdc5c485691f428d2e54ca20c5df3;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=82f7ce170191a6d56275169fbf78d7bae145d8dd;hpb=b917c4e40f9f5cd3d101444600eddafcca54d6e3;p=lyx.git diff --git a/src/Toc.h b/src/Toc.h index 82f7ce1701..bd6bdf2d4b 100644 --- a/src/Toc.h +++ b/src/Toc.h @@ -15,9 +15,8 @@ #ifndef TOC_H #define TOC_H -#include "support/shared_ptr.h" - #include +#include #include #include @@ -29,12 +28,12 @@ class TocItem; typedef std::vector Toc; -class TocList : public std::map > +class TocList : public std::map> { private: // TocList should never map to null pointers. - // We forbid the following method which creates null pointers. - using std::map >::operator[]; + // We hide the following methods which create null pointers. + using std::map>::operator[]; };