From 4dd8d4cd898f1493056cd6ab989924c1d15537f0 Mon Sep 17 00:00:00 2001 From: BelaBartok39 <95888988+BelaBartok39@users.noreply.github.com> Date: Mon, 21 Aug 2023 16:08:00 -0500 Subject: [PATCH] Fixed incorrect type declaration. (#707) ellens-alien-game: fix typo --- exercises/concept/ellens-alien-game/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/ellens-alien-game/.docs/introduction.md b/exercises/concept/ellens-alien-game/.docs/introduction.md index 418b5a515..f640213ad 100644 --- a/exercises/concept/ellens-alien-game/.docs/introduction.md +++ b/exercises/concept/ellens-alien-game/.docs/introduction.md @@ -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`