diff --git a/libxml++/document.h b/libxml++/document.h index 648b9121..bf204a5b 100644 --- a/libxml++/document.h +++ b/libxml++/document.h @@ -72,7 +72,7 @@ class Document : public NonCopyable ~Init() noexcept; }; - friend LIBXMLPP_API class SaxParser; + friend class SaxParser; public: /** Create a new document. diff --git a/libxml++/parsers/saxparser.h b/libxml++/parsers/saxparser.h index 13640516..affacbf2 100644 --- a/libxml++/parsers/saxparser.h +++ b/libxml++/parsers/saxparser.h @@ -250,7 +250,7 @@ class SaxParser : public Parser // and never seen in the API: std::unique_ptr entity_resolver_doc_; - friend LIBXMLPP_API struct SaxParserCallback; + friend struct SaxParserCallback; }; } // namespace xmlpp diff --git a/libxml++/parsers/textreader.h b/libxml++/parsers/textreader.h index 807f3456..dbc22ed8 100644 --- a/libxml++/parsers/textreader.h +++ b/libxml++/parsers/textreader.h @@ -292,7 +292,7 @@ class TextReader: public NonCopyable private: class PropertyReader; - friend LIBXMLPP_API class PropertyReader; + friend class PropertyReader; LIBXMLPP_API void setup_exceptions();