summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
authorAndre Polykanine A.K.A. Menelion Elensúlë <andre@oire.org>2017-08-30 02:46:49 +0300
committerAndre Polykanine A.K.A. Menelion Elensúlë <andre@oire.org>2017-08-30 02:46:49 +0300
commitc076537cf9a90d0be4848885ef09895b5aa12b3e (patch)
treeae7f9336e4078b8c1fed579758777f0a79fdd5fb /c++.html.markdown
parentbce21489d8d7e3a3f3d4ede2154dba082647296e (diff)
[c++/en] Added public declaration. Fixed #2805
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 a0f06c84..23013410 100644
--- a/c++.html.markdown
+++ b/c++.html.markdown
@@ -8,7 +8,6 @@ contributors:
- ["Connor Waters", "http://github.com/connorwaters"]
- ["Ankush Goyal", "http://github.com/ankushg07"]
- ["Jatin Dhankhar", "https://github.com/jatindhankhar"]
-
---
C++ is a systems programming language that,
@@ -474,6 +473,7 @@ int main() {
// without a public or protected method for doing so
class OwnedDog : public Dog {
+public:
void setOwner(const std::string& dogsOwner);
// Override the behavior of the print function for all OwnedDogs. See