summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
authorGeoff Liu <cangming.liu@gmail.com>2014-11-02 11:16:28 -0700
committerGeoff Liu <cangming.liu@gmail.com>2014-11-02 11:16:28 -0700
commit4fb5839edc6100f0029af0d3a082ec4753c86388 (patch)
treedfbd96197e6d4c1a4f96c013d1dd1a42c0c0ef41 /c++.html.markdown
parentd234d1c8945a7a4fdc812be65de89ca0c6aa52b6 (diff)
parent24a4426dd0f02468810b475d17bb6aed307e178a (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'c++.html.markdown')
-rw-r--r--c++.html.markdown2
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)