Skip to content

Commit 06cdd2e

Browse files
committed
Use literal true instead of calling cmdline.isset() twice
1 parent 8b69de0 commit 06cdd2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/object_factory_parameters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void parse_object_factory_options(const cmdlinet &cmdline, optionst &options)
7676
}
7777
if(cmdline.isset("string-printable"))
7878
{
79-
options.set_option("string-printable", cmdline.isset("string-printable"));
79+
options.set_option("string-printable", true);
8080
}
8181
if(cmdline.isset("string-non-empty"))
8282
{

0 commit comments

Comments
 (0)