Skip to content

Commit

Permalink
refactor: public settings initialize relativeto
Browse files Browse the repository at this point in the history
This fixes a warning when using initialization with designators
  • Loading branch information
alandefreitas committed Nov 5, 2024
1 parent 91c6871 commit 59b3012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/generate-config-info.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def generate_public_settings_hpp(config):
contents += ',\n'
contents += f' {cpp_type}'
contents += f'> {to_camel_case("default")}Value = std::monostate();\n'
contents += f' std::string {to_camel_case("relativeto")};\n'
contents += f' std::string {to_camel_case("relativeto")} = {{}};\n'
contents += ' };\n\n'

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

0 comments on commit 59b3012

Please sign in to comment.