diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-31 17:30:46 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-06-17 00:04:03 +0200 |
| commit | bf87297b7f012154a07edfce72db6deb2334ba00 (patch) | |
| tree | edcff1cbbe4ea8dbcb73b9f2f6209eea35724ed4 | |
| parent | 07f20e3d27ca6754f5ea55ebf2f98715e4e97d63 (diff) | |
Tidy up return.
| -rw-r--r-- | src/lib/ratio.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ratio.cc b/src/lib/ratio.cc index 82cd1c129..6c66806e9 100644 --- a/src/lib/ratio.cc +++ b/src/lib/ratio.cc @@ -130,10 +130,7 @@ Ratio::containers() return all(); } - vector<Ratio const *> r; - r.push_back(Ratio::from_id("185")); - r.push_back(Ratio::from_id("239")); - return r; + return { Ratio::from_id("185"), Ratio::from_id("239") }; } |
