diff options
author | Levi Bostian <levi.bostian@gmail.com> | 2014-10-26 22:47:05 -0500 |
---|---|---|
committer | Levi Bostian <levi.bostian@gmail.com> | 2014-10-26 22:47:05 -0500 |
commit | 8167b5f9e0bce948cce9507f0f7fc0c425b21507 (patch) | |
tree | 627ca2b436a4c8306c27f55cd93a3e9779837dd7 | |
parent | 9fe68559c07d1cd73e26e9a2e53d9800a091e39d (diff) | |
parent | 00c4a6324e177b86c8b26318ed77d7373d8e716f (diff) |
Merge pull request #827 from subbul/patch-1
correcting the setName method
-rw-r--r-- | c++.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++.html.markdown b/c++.html.markdown index 50de5eff..9f357b08 100644 --- a/c++.html.markdown +++ b/c++.html.markdown @@ -305,7 +305,7 @@ void Dog::Dog() // if you are modifying them or const reference if you are not. void Dog::setName(const std::string& dogsName) { - name = doggie_name; + name = dogsName; } void Dog::setWeight(int dogsWeight) |