summaryrefslogtreecommitdiff
path: root/src/lib/config.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-09-24 17:23:57 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-16 17:57:18 +0200
commit729951e629c0d98d6f1da058029114341dae6e39 (patch)
tree68c7ca357c2c0b495aadd57abee2f2636a7114bb /src/lib/config.cc
parent685f4cd503d600700b73a3d642497fdaffd07a04 (diff)
Use boost::filesystem::path for gpu_binary_location().
Diffstat (limited to 'src/lib/config.cc')
-rw-r--r--src/lib/config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index bbb3eef27..a4ee4ad99 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -1133,7 +1133,7 @@ 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("GpuBinaryLocation")->add_child_text (_gpu_binary_location.string());
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);