Skip to content

Commit

Permalink
fix: spelling in classes concept (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeng authored Nov 2, 2023
1 parent a7653bb commit 080659d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion concepts/classes/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Notice the `;` after the definition.
```cpp
class Wizzard {
public: // from here on all members are accessible publicly
inc cast_spell() { // defines the public member function cast_spell
int cast_spell() { // defines the public member function cast_spell
return damage;
}
std::string name{}; // defines the public member variable `name`
Expand Down
2 changes: 1 addition & 1 deletion concepts/classes/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Notice the `;` after the definition.
```cpp
class Wizzard {
public: // from here on all members are accessible publicly
inc cast_spell() { // defines the public member function cast_spell
int cast_spell() { // defines the public member function cast_spell
return damage;
}
std::string name{}; // defines the public member variable `name`
Expand Down

0 comments on commit 080659d

Please sign in to comment.