X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Foutput_xhtml.h;h=a2eac95ab437881bf06926839fe04e786aae94ac;hb=b032e2dfafbf1e86918dd0cd66e5de602edeee00;hp=473ebe335a41a744e83663c22aab32fefdf1de8e;hpb=ca8709aaf5f5f14aae1978403e13aac3a93506aa;p=features.git diff --git a/src/output_xhtml.h b/src/output_xhtml.h index 473ebe335a..a2eac95ab4 100644 --- a/src/output_xhtml.h +++ b/src/output_xhtml.h @@ -15,10 +15,11 @@ #include "LayoutEnums.h" #include "support/docstream.h" -#include "support/shared_ptr.h" #include "support/strfwd.h" #include +#include + namespace lyx { @@ -275,12 +276,11 @@ private: // own these pointers and how they will be deleted, so we use shared // pointers. /// - typedef shared_ptr TagPtr; + typedef std::shared_ptr TagPtr; typedef std::deque TagDeque; /// template - shared_ptr makeTagPtr(T const & tag) - { return shared_ptr(new T(tag)); } + TagPtr makeTagPtr(T const & tag) { return std::make_shared(tag); } /// TagDeque pending_tags_; ///