Skip to content

Commit 494cd00

Browse files
committed
Merge pull request Mooophy#463 from clarelsy/patch-4
Update ex14_22_TEST.cpp
2 parents 1c07527 + fd2e20c commit 494cd00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ch14/ex14_22_TEST.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
int main()
44
{
55
std::string strCp5("C++ Primer 5th");
6-
Sales_data cp5 = strCp5;
6+
Sales_data cp5;
7+
cp5 = strCp5;
78
std::cout << cp5 << std::endl;
89
}

0 commit comments

Comments
 (0)