Added possibility to disable protected inheritance (VMIME_NO_PROTECTED_INHERITANCE).
This commit is contained in:
parent
22ebb7e8f5
commit
e05e546d5f
@ -32,7 +32,7 @@ namespace vmime
|
|||||||
/** A list of mailboxes (basic type).
|
/** A list of mailboxes (basic type).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if (defined(__GNUC__) && (__GNUC__ >= 3) && (__GNUC_MINOR__ <= 2))
|
#if (defined(__GNUC__) && (__GNUC__ >= 3) && (__GNUC_MINOR__ <= 2)) || defined(VMIME_NO_PROTECTED_INHERITANCE)
|
||||||
class mailboxList : public addressList // BUG with gcc <= 3.2
|
class mailboxList : public addressList // BUG with gcc <= 3.2
|
||||||
#else
|
#else
|
||||||
class mailboxList : protected addressList
|
class mailboxList : protected addressList
|
||||||
|
Loading…
Reference in New Issue
Block a user