Skip to content

Commit fb80272

Browse files
Mooophypezy
authored andcommitted
Update ex9_46.cpp
1 parent 8fed2a5 commit fb80272

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ch09/ex9_46.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
#include <iostream>
1313
#include <string>
1414

15-
std::string
16-
pre_suffix(const std::string &name, const std::string &pre, const std::string &su)
15+
std::string pre_suffix(const std::string &name, const std::string &pre, const std::string &su)
1716
{
1817
std::string ret(name);
1918
ret.insert(0, pre);
@@ -28,4 +27,4 @@ int main()
2827
std::cout << pre_suffix(name, "Mr.", ",Jr.");
2928

3029
return 0;
31-
}
30+
}

0 commit comments

Comments
 (0)