diff --git a/Examples/test-suite/cpp11_shared_ptr_template_upcast.i b/Examples/test-suite/cpp11_shared_ptr_template_upcast.i index 69ffec5bf..38968bb60 100644 --- a/Examples/test-suite/cpp11_shared_ptr_template_upcast.i +++ b/Examples/test-suite/cpp11_shared_ptr_template_upcast.i @@ -68,9 +68,9 @@ public: }; /* - Contrived for this case (but valid for others, such as if Printable was to be a interface/abstract base class). - Virtual inheritance exposes whether SWIGSmartPtrUpcast generated a correctly typed shared pointer of the upcasted class type - if the pointer type is incorrect, this will result in - a segmentation fault (on Windows, this could manifest as undefined behavior) when trying to access any member inherited from T through a shared_ptr >. + Virtual inheritance is contrived for this case, but exposes whether SWIGSmartPtrUpcast generated a correctly typed shared pointer of the upcasted class type - + if the pointer type is incorrect, this will result in a segmentation fault (on Windows, this could manifest as undefined behavior) when trying to access members + inherited from T through a shared_ptr >. */ template class Printable : virtual public T { public: