Skip to content

Commit ced78ff

Browse files
committed
typo
1 parent 6867d13 commit ced78ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CppCoreGuidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6225,7 +6225,7 @@ Now `Shape` is a poor example of a class with an implementation,
62256225
but bare with us because this is just a simple example of a technique aimed at more complex hierarchies.
62266226

62276227
class Impl::Circle : public Circle, public Impl::Shape { // implementation
6228-
publc:
6228+
public:
62296229
// constructors, destructor
62306230

62316231
int radius() { /* ... */ }
@@ -6240,7 +6240,7 @@ And we could extend the hierarchies by adding a Smiley class (:-)):
62406240
};
62416241

62426242
class Impl::Smiley : Public Smiley, public Impl::Circle { // implementation
6243-
publc:
6243+
public:
62446244
// constructors, destructor
62456245
// ...
62466246
}

0 commit comments

Comments
 (0)