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-18 13:46:50 +0200
commit9ba80f8c08dbfbf1b4eafa8fcb40001a55bbbf0e (patch)
treeaa806a2ccb82a899c30d9dbfc7a10e055648734b /src/lib/config.cc
parent9b3b2b5014c08ba5667ef4072b90e93a542b35d0 (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);