--- parser3/src/include/pa_stylesheet_connection.h 2012/03/16 09:24:10 1.41 +++ parser3/src/include/pa_stylesheet_connection.h 2020/12/11 14:03:09 1.46 @@ -1,14 +1,14 @@ /** @file Parser: Stylesheet connection decl. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2017 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ #ifndef PA_STYLESHEET_CONNECTION_H #define PA_STYLESHEET_CONNECTION_H -#define IDENT_PA_STYLESHEET_CONNECTION_H "$Id: pa_stylesheet_connection.h,v 1.41 2012/03/16 09:24:10 moko Exp $" +#define IDENT_PA_STYLESHEET_CONNECTION_H "$Id: pa_stylesheet_connection.h,v 1.46 2020/12/11 14:03:09 moko Exp $" #include "libxslt/xslt.h" #include "libxslt/xsltInternals.h" @@ -54,7 +54,7 @@ public: } bool expired(time_t older_dies) { - return uncachable() || !used && time_useduse(); } ~Stylesheet_connection_ptr() { @@ -115,22 +114,6 @@ public: Stylesheet_connection* operator->() { return fconnection; } -/* Stylesheet_connection& operator*() { - return *fconnection; - }*/ - - // copying - Stylesheet_connection_ptr(const Stylesheet_connection_ptr& src) : fconnection(src.fconnection) { - fconnection->use(); - } - Stylesheet_connection_ptr& operator =(const Stylesheet_connection_ptr& src) { - // may do without this=src check - fconnection->unuse(); - fconnection=src.fconnection; - fconnection->use(); - - return *this; - } }; #endif