diff options
author | Roger Leigh <rleigh@debian.org> | 2009-07-05 23:26:36 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2009-07-05 23:26:36 +0100 |
commit | 6347d1102aaf5b77a2bf756733b107e9db5a44d7 (patch) | |
tree | e6ff83f4089171d6bbf0e16f1154e65a73f1a4af /sbuild/sbuild-chroot-directory.h | |
parent | 0b4a5118386ab83197a209c597abebb416f0935e (diff) | |
download | schroot-6347d1102aaf5b77a2bf756733b107e9db5a44d7.tar.gz |
[sbuild] Split chroot_plain into chroot_plain_base
chroot_plain and chroot_directory inherit from chroot_plain_base.
This allows dynamic_cast to chroot_plain from chroot_directory to
fail due to not being in the inheritance hierarchy for directory.
Diffstat (limited to 'sbuild/sbuild-chroot-directory.h')
-rw-r--r-- | sbuild/sbuild-chroot-directory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbuild/sbuild-chroot-directory.h b/sbuild/sbuild-chroot-directory.h index 26317453..0ac34bb9 100644 --- a/sbuild/sbuild-chroot-directory.h +++ b/sbuild/sbuild-chroot-directory.h @@ -20,7 +20,7 @@ #define SBUILD_CHROOT_DIRECTORY_H #include <sbuild/sbuild-config.h> -#include <sbuild/sbuild-chroot-plain.h> +#include <sbuild/sbuild-chroot-plain-base.h> #ifdef SBUILD_FEATURE_UNION #include <sbuild/sbuild-chroot-union.h> #endif // SBUILD_FEATURE_UNION @@ -31,7 +31,7 @@ namespace sbuild /** * A chroot located in the filesystem. */ - class chroot_directory : public chroot_plain + class chroot_directory : public chroot_plain_base #ifdef SBUILD_FEATURE_UNION , public chroot_union #endif // SBUILD_FEATURE_UNION |