diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-07-07 16:53:53 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-07-07 16:53:53 +0200 |
| commit | ee88ba1ee09f20587d793276afc84952d3fcd03c (patch) | |
| tree | 451bfc58e99d3b0d68e199681b36a883e6d4e0a4 /src | |
| parent | 7a57543bd2f20f663259e5c97c910fc4f11714e8 (diff) | |
Tweak whitespace in config.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/config.h | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index d2b037137..ad237c04b 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -618,33 +618,27 @@ public: return _allow_smpte_bv20; } - std::string gpu_binary_location() const - { + std::string gpu_binary_location() const { return _gpu_binary_location; } - bool enable_gpu() const - { + bool enable_gpu() const { return _enable_gpu; } - int selected_gpu() const - { + int selected_gpu() const { return _selected_gpu; } - std::string gpu_license_server() const - { + std::string gpu_license_server() const { return _gpu_license_server; } - int gpu_license_port() const - { + int gpu_license_port() const { return _gpu_license_port; } - std::string gpu_license() const - { + std::string gpu_license() const { return _gpu_license; } @@ -1229,35 +1223,30 @@ public: maybe_set(_allow_smpte_bv20, allow, ALLOW_SMPTE_BV20); } - void set_gpu_binary_location(std::string location) - { + void set_gpu_binary_location(std::string location) { maybe_set(_gpu_binary_location, location); } - void set_enable_gpu(bool enable) - { + void set_enable_gpu(bool enable) { maybe_set(_enable_gpu, enable); } - void set_selected_gpu(int selected) - { + void set_selected_gpu(int selected) { maybe_set(_selected_gpu, selected); } - void set_gpu_license_server(std::string s) - { + void set_gpu_license_server(std::string s) { maybe_set(_gpu_license_server, s); } - void set_gpu_license_port(int p) - { + void set_gpu_license_port(int p) { maybe_set(_gpu_license_port, p); } - void set_gpu_license(std::string p) - { + void set_gpu_license(std::string p) { maybe_set(_gpu_license, p); } + void set_isdcf_name_part_length(int length) { maybe_set(_isdcf_name_part_length, length, ISDCF_NAME_PART_LENGTH); } |
