mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Made example method actually protected
This commit is contained in:
parent
7b892418aa
commit
c22f19801b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue