Skip to content

Commit 4433944

Browse files
author
Artiom N.
committed
dn_expand() example fixed
1 parent 6533863 commit 4433944

File tree

1 file changed

+1
-2
lines changed
  • src/book01/ch02/cpp/dn_comp_expand

1 file changed

+1
-2
lines changed

src/book01/ch02/cpp/dn_comp_expand/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ int main()
2727
if ((result = dn_expand(buf.data(), buf.data() + result, buf.data(), exp_buf.data(), exp_buf.size())) != -1)
2828
{
2929
std::cout << "Len = " << result << "\n"
30-
<< std::string(exp_buf.begin(), exp_buf.begin() + result) << "\n"
31-
<< std::endl;
30+
<< std::string(exp_buf.begin(), exp_buf.begin() + result) << std::endl;
3231
return EXIT_SUCCESS;
3332
}
3433

0 commit comments

Comments
 (0)