Skip to content

Commit

Permalink
Fixed incorrect type declaration. (#707)
Browse files Browse the repository at this point in the history
ellens-alien-game: fix typo
  • Loading branch information
BelaBartok39 authored Aug 21, 2023
1 parent 08048b1 commit 4dd8d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/concept/ellens-alien-game/.docs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Notice the `;` after the definition:
```cpp
class Wizard {
public: // from here on all members are publicly accessible
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 4dd8d4c

Please sign in to comment.