From bf87297b7f012154a07edfce72db6deb2334ba00 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 31 May 2025 17:30:46 +0200 Subject: Tidy up return. --- src/lib/ratio.cc | 5 +---- 1 file changed, 1 insertion(+), 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 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") }; } -- cgit v1.2.3