From 0c34bbc8994c5a36afa6cba841e2998504a19a5f Mon Sep 17 00:00:00 2001 From: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> Date: Fri, 5 Jan 2024 18:32:38 +0100 Subject: [PATCH] [placepage] Remove unneeded extra kFieldsSeparator in elevation Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com> --- map/place_page_info.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/map/place_page_info.cpp b/map/place_page_info.cpp index d78a5d6fba..2934304608 100644 --- a/map/place_page_info.cpp +++ b/map/place_page_info.cpp @@ -161,10 +161,7 @@ std::string Info::FormatSubtitle(bool withType) const // Elevation. auto const eleStr = GetElevationFormatted(); if (!eleStr.empty()) - { - append(kMountainSymbol); - append(eleStr); - } + append(std::string{kMountainSymbol} + eleStr); // ATM if (HasAtm())