diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-11 20:16:25 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-11 20:16:29 +0200 |
| commit | 59f4902bc3971f948b0cd0c3fceb0edb8667bff7 (patch) | |
| tree | 7422987ff9df19c5bc339dfb6edb2352bd3744a9 /src | |
| parent | 9659f8be77b342df0a51bea43a10ebc6774f6708 (diff) | |
Fix build with some older boosts.v2.17.18
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/kdm_cli.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/kdm_cli.cc b/src/lib/kdm_cli.cc index 3288f043d..0b918266e 100644 --- a/src/lib/kdm_cli.cc +++ b/src/lib/kdm_cli.cc @@ -456,7 +456,8 @@ void dump_decryption_certificate(std::function<void (string)> out) { vector<string> lines; - boost::split(lines, Config::instance()->decryption_chain()->leaf().certificate(true), boost::is_any_of("\n")); + auto certificate = Config::instance()->decryption_chain()->leaf().certificate(true); + boost::split(lines, certificate, boost::is_any_of("\n")); for (auto const& line: lines) { out(line); } |
