summaryrefslogtreecommitdiff
path: root/apt-pkg/cdrom.h
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/cdrom.h')
-rw-r--r--apt-pkg/cdrom.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/cdrom.h b/apt-pkg/cdrom.h
index 5626b5059..ab1e046bf 100644
--- a/apt-pkg/cdrom.h
+++ b/apt-pkg/cdrom.h
@@ -18,7 +18,7 @@ class OpProgress;
class pkgCdromStatus /*{{{*/
{
- void *d;
+ void * const d;
protected:
int totalSteps;
@@ -79,7 +79,7 @@ class pkgCdrom /*{{{*/
virtual ~pkgCdrom();
private:
- void *d;
+ void * const d;
APT_HIDDEN bool MountAndIdentCDROM(Configuration &Database, std::string &CDROM,
std::string &ident, pkgCdromStatus * const log, bool const interactive);
@@ -98,7 +98,7 @@ struct CdromDevice /*{{{*/
/*}}}*/
class pkgUdevCdromDevices /*{{{*/
{
- void *d;
+ void * const d;
protected:
// libudev dlopen structure
void *libudev_handle;