From 326945cba5ae2d921d8b8327d68f4d9f898690da Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Mon, 26 Aug 2024 15:05:14 +0200 Subject: [PATCH] Declare kml 2.2 gx extension support to serialize recorded tracks Signed-off-by: Alexander Borsuk --- kml/serdes.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kml/serdes.cpp b/kml/serdes.cpp index 543116c821..50d6bf2cdd 100644 --- a/kml/serdes.cpp +++ b/kml/serdes.cpp @@ -33,20 +33,20 @@ bool IsTrack(std::string const & s) return s == "Track" || s == "gx:Track"; } -std::string const kKmlHeader = - "\n" - "\n" +std::string_view constexpr kKmlHeader = + "\n" + "\n" "\n"; -std::string const kKmlFooter = - "\n" +std::string_view constexpr kKmlFooter = + "\n" "\n"; -std::string const kExtendedDataHeader = - "\n"; +std::string_view constexpr kExtendedDataHeader = + "\n"; -std::string const kExtendedDataFooter = - "\n"; +std::string_view constexpr kExtendedDataFooter = + "\n"; std::string const kCompilationFooter = "\n";