summaryrefslogtreecommitdiff
path: root/src/lib/config.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-07-07 18:22:05 +0200
committerCarl Hetherington <cth@carlh.net>2023-07-07 18:22:05 +0200
commit30c546cb120638cf189aa73ed26d7c6ef751c384 (patch)
tree16425a36052331964250327ed2874da32fb73683 /src/lib/config.h
parent28c4d55d7e7242c1a414a74751abe29b75e6505f (diff)
Use boost::filesystem::path for _gpu_binary_location.
Diffstat (limited to 'src/lib/config.h')
-rw-r--r--src/lib/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/config.h b/src/lib/config.h
index ad237c04b..eb5e255a7 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -618,7 +618,7 @@ public:
return _allow_smpte_bv20;
}
- std::string gpu_binary_location() const {
+ boost::optional<boost::filesystem::path> gpu_binary_location() const {
return _gpu_binary_location;
}
@@ -1223,7 +1223,7 @@ public:
maybe_set(_allow_smpte_bv20, allow, ALLOW_SMPTE_BV20);
}
- void set_gpu_binary_location(std::string location) {
+ void set_gpu_binary_location(boost::filesystem::path location) {
maybe_set(_gpu_binary_location, location);
}
@@ -1494,7 +1494,7 @@ private:
/* GPU */
bool _enable_gpu;
- std::string _gpu_binary_location;
+ boost::optional<boost::filesystem::path> _gpu_binary_location;
int _selected_gpu;
std::string _gpu_license_server;
int _gpu_license_port;