mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "kml/serdes_binary.hpp"
|
||||
#include "kml/types_v8.hpp"
|
||||
#include "kml/types.hpp"
|
||||
#include "kml/types_v8.hpp"
|
||||
#include "kml/visitors.hpp"
|
||||
|
||||
#include <string>
|
||||
@@ -15,7 +15,7 @@ namespace kml::binary
|
||||
class SerializerKmlV8 : public SerializerKml
|
||||
{
|
||||
public:
|
||||
explicit SerializerKmlV8(FileData & data) : SerializerKml(data) {};
|
||||
explicit SerializerKmlV8(FileData & data) : SerializerKml(data) {}
|
||||
|
||||
template <typename Sink>
|
||||
void Serialize(Sink & sink)
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
// Downgrade bookmark format from Latest to V8
|
||||
std::vector<BookmarkDataV8> bookmarksDataV8;
|
||||
bookmarksDataV8.reserve(m_data.m_bookmarksData.size());
|
||||
for (BookmarkData &bm : m_data.m_bookmarksData)
|
||||
for (BookmarkData & bm : m_data.m_bookmarksData)
|
||||
bookmarksDataV8.push_back(BookmarkDataV8(bm));
|
||||
visitor(bookmarksDataV8);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user