From c22f19801b512a9594acdd7c1ba3242938400b31 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Thu, 11 Apr 2019 11:00:37 +0200 Subject: [PATCH] Made example method actually protected --- doc/example/limitations_protected_private_method.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/example/limitations_protected_private_method.cpp b/doc/example/limitations_protected_private_method.cpp index 327cf2a..a3a23f3 100644 --- a/doc/example/limitations_protected_private_method.cpp +++ b/doc/example/limitations_protected_private_method.cpp @@ -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;