summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/error.h
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-02-26 20:26:42 +0000
committerJulian Andres Klode <jak@debian.org>2020-02-26 20:26:42 +0000
commitbe22f24669bb6731b5835dc0e1b459d821683a9c (patch)
treea7937ab9aba3556760f0040727066a84a41f0006 /apt-pkg/contrib/error.h
parentc38e0047d95305e5984e822f670055cde6aa5f6a (diff)
parentdb678df196ccd8f9f6fb336706cf5701d1e53aa6 (diff)
Merge branch 'pu/visibility' into 'master'
apt-pkg: default visibility to hidden See merge request apt-team/apt!108
Diffstat (limited to 'apt-pkg/contrib/error.h')
-rw-r--r--apt-pkg/contrib/error.h4
1 files changed, 2 insertions, 2 deletions
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 <stdarg.h>
#include <stddef.h>
-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;