From db678df196ccd8f9f6fb336706cf5701d1e53aa6 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 13 Aug 2019 19:15:19 +0200 Subject: apt-pkg: default visibility to hidden --- apt-pkg/contrib/error.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-pkg/contrib/error.h') diff --git a/apt-pkg/contrib/error.h b/apt-pkg/contrib/error.h index 5ab7b9f85..1609b8702 100644 --- a/apt-pkg/contrib/error.h +++ b/apt-pkg/contrib/error.h @@ -48,7 +48,7 @@ #include #include -class GlobalError /*{{{*/ +class APT_PUBLIC GlobalError /*{{{*/ { public: /*{{{*/ /** \brief a message can have one of following severity */ @@ -359,7 +359,7 @@ private: /*{{{*/ /*}}}*/ // The 'extra-ansi' syntax is used to help with collisions. -GlobalError *_GetErrorObj(); +APT_PUBLIC GlobalError *_GetErrorObj(); static struct { inline GlobalError* operator ->() { return _GetErrorObj(); } } _error APT_UNUSED; -- cgit v1.2.3