Skip to content

Commit 59b3012

Browse files
committedNov 5, 2024
refactor: public settings initialize relativeto
This fixes a warning when using initialization with designators
1 parent 91c6871 commit 59b3012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎util/generate-config-info.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def generate_public_settings_hpp(config):
302302
contents += ',\n'
303303
contents += f' {cpp_type}'
304304
contents += f'> {to_camel_case("default")}Value = std::monostate();\n'
305-
contents += f' std::string {to_camel_case("relativeto")};\n'
305+
contents += f' std::string {to_camel_case("relativeto")} = {{}};\n'
306306
contents += ' };\n\n'
307307

308308
contents += ' /** Normalize the configuration values with a visitor\n'

0 commit comments

Comments
 (0)
Please sign in to comment.