Made example method actually protected

This commit is contained in:
Simon Giesecke 2019-04-11 11:00:37 +02:00
parent 7b892418aa
commit c22f19801b

View file

@ -15,7 +15,7 @@ namespace
//[ limitations_protected_private_method_problem
class base
{
private:
protected:
virtual void method_1() = 0;
private:
virtual void method_2() = 0;