diff options
Diffstat (limited to 'src/lib/config.cc')
| -rw-r--r-- | src/lib/config.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index 2287cd592..81b7ea857 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -644,8 +644,8 @@ try _enable_gpu = f.optional_bool_child("EnableGpu").get_value_or(false); _gpu_binary_location = f.string_child("GpuBinaryLocation"); _selected_gpu = f.number_child<int>("SelectedGpu"); - _gpu_license_server = f.string_child ("GpuLicenseServer"); - _gpu_license_port = f.number_child<int> ("GpuLicensePort"); + _gpu_license_server = f.string_child("GpuLicenseServer"); + _gpu_license_port = f.number_child<int>("GpuLicensePort"); _gpu_license = f.string_child("GpuLicense"); _export.read(f.optional_node_child("Export")); @@ -1134,12 +1134,12 @@ Config::write_config () const /* [XML] ISDCFNamePartLength Maximum length of the "name" part of an ISDCF name, which should be 14 according to the standard */ root->add_child("ISDCFNamePartLength")->add_child_text(raw_convert<string>(_isdcf_name_part_length)); - root->add_child("GpuBinaryLocation")->add_child_text (_gpu_binary_location); - root->add_child("EnableGpu")->add_child_text ((_enable_gpu ? "1" : "0")); - root->add_child("SelectedGpu")->add_child_text (raw_convert<string> (_selected_gpu)); - root->add_child("GpuLicenseServer")->add_child_text (_gpu_license_server); - root->add_child("GpuLicensePort")->add_child_text (raw_convert<string> (_gpu_license_port)); - root->add_child("GpuLicense")->add_child_text (_gpu_license); + root->add_child("GpuBinaryLocation")->add_child_text(_gpu_binary_location); + root->add_child("EnableGpu")->add_child_text((_enable_gpu ? "1" : "0")); + root->add_child("SelectedGpu")->add_child_text(raw_convert<string>(_selected_gpu)); + root->add_child("GpuLicenseServer")->add_child_text(_gpu_license_server); + root->add_child("GpuLicensePort")->add_child_text(raw_convert<string>(_gpu_license_port)); + root->add_child("GpuLicense")->add_child_text(_gpu_license); _export.write(root->add_child("Export")); |
