Skip to content

Commit 4f52423

Browse files
sjoubertvprus
authored andcommitted
Remove extra parens in boost::optional how-to example
1 parent 110772c commit 4f52423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/howto.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ po::variables_map vm;
477477
po::store(po::parse_command_line(ac, av, desc), vm);
478478
po::notify(vm);
479479
480-
if (compression)) {
480+
if (compression) {
481481
cout << "Compression level was set to " << *compression << ".\n";
482482
} else {
483483
cout << "Compression level was not set.\n";

0 commit comments

Comments
 (0)