summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debsrcrecords.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-11-06 12:41:04 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-11-08 14:28:28 +0100
commitdce45dbe97531de6806707445da97d3f22285db8 (patch)
tree0654bf91d059ef5d6056936a1e18ad8743604c8d /apt-pkg/deb/debsrcrecords.h
parentf105aaba433f5a8b9c4326dd0d704501bf07d1e5 (diff)
mark internal interfaces as hidden
We have a bunch of classes which are of no use for the outside world, but were still exported and so needed to preserve ABI/API. Marking them as hidden to not export them any longer is a big API break in theory, but in practice nobody is using them – as if they would its a bug.
Diffstat (limited to 'apt-pkg/deb/debsrcrecords.h')
-rw-r--r--apt-pkg/deb/debsrcrecords.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/debsrcrecords.h b/apt-pkg/deb/debsrcrecords.h
index a0a151875..1a09f6546 100644
--- a/apt-pkg/deb/debsrcrecords.h
+++ b/apt-pkg/deb/debsrcrecords.h
@@ -21,7 +21,7 @@
class pkgIndexFile;
-class debSrcRecordParser : public pkgSrcRecords::Parser
+class APT_HIDDEN debSrcRecordParser : public pkgSrcRecords::Parser
{
/** \brief dpointer placeholder (for later in case we need it) */
void *d;
@@ -61,7 +61,7 @@ class debSrcRecordParser : public pkgSrcRecords::Parser
virtual ~debSrcRecordParser();
};
-class debDscRecordParser : public debSrcRecordParser
+class APT_HIDDEN debDscRecordParser : public debSrcRecordParser
{
public:
debDscRecordParser(std::string const &DscFile, pkgIndexFile const *Index);