Skip to content

Commit 3bff7b7

Browse files
authored
Update how-to-create-and-use-shared-ptr-instances_3.cpp
1 parent 80a9c92 commit 3bff7b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/codesnippet/CPP/how-to-create-and-use-shared-ptr-instances_3.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
vector<shared_ptr<Song>> v{
1+
vector<shared_ptr<Song>> v {
22
make_shared<Song>(L"Bob Dylan", L"The Times They Are A Changing"),
33
make_shared<Song>(L"Aretha Franklin", L"Bridge Over Troubled Water"),
44
make_shared<Song>(L"Thal�a", L"Entre El Mar y Una Estrella")
@@ -13,4 +13,4 @@
1313
for (const auto& s : v2)
1414
{
1515
wcout << s->artist << L":" << s->title << endl;
16-
}
16+
}

0 commit comments

Comments
 (0)