X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FToc.h;h=bd6bdf2d4bffdc5c485691f428d2e54ca20c5df3;hb=72c304a6297311086d8fe1a17622f7b79623d3bd;hp=d58a09a00340014a18c31094d1a127fe0e5952d1;hpb=e3540f33e17ca45ffa5ec532ee7f1113638cc366;p=lyx.git diff --git a/src/Toc.h b/src/Toc.h index d58a09a003..bd6bdf2d4b 100644 --- a/src/Toc.h +++ b/src/Toc.h @@ -1,6 +1,6 @@ // -*- C++ -*- /** - * \file TocBackend.h + * \file Toc.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * @@ -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[]; };