mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 06:33:42 +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:
@@ -18,8 +18,7 @@ struct TypeAggregatedDescription
|
||||
|
||||
bool IsEmpty() const
|
||||
{
|
||||
return IsNameEditable() || IsAddressEditable() || IsCuisineEditable() ||
|
||||
!m_editableFields.empty();
|
||||
return IsNameEditable() || IsAddressEditable() || IsCuisineEditable() || !m_editableFields.empty();
|
||||
}
|
||||
|
||||
FeatureFields const & GetEditableFields() const { return m_editableFields; }
|
||||
@@ -41,15 +40,14 @@ public:
|
||||
EditorConfig() = default;
|
||||
|
||||
// TODO(mgsergio): Reduce overhead by matching uint32_t types instead of strings.
|
||||
bool GetTypeDescription(std::vector<std::string> classificatorTypes,
|
||||
TypeAggregatedDescription & outDesc) const;
|
||||
bool GetTypeDescription(std::vector<std::string> classificatorTypes, TypeAggregatedDescription & outDesc) const;
|
||||
std::vector<std::string> GetTypesThatCanBeAdded() const;
|
||||
|
||||
void SetConfig(pugi::xml_document const & doc);
|
||||
|
||||
// TODO(mgsergio): Implement this getter to avoid hard-code in XMLFeature::ApplyPatch.
|
||||
// It should return [[phone, contact:phone, contact:mobile], [website, contact:website, url], ...].
|
||||
//vector<vector<string>> GetAlternativeFields() const;
|
||||
// vector<vector<string>> GetAlternativeFields() const;
|
||||
|
||||
private:
|
||||
pugi::xml_document m_document;
|
||||
|
||||
Reference in New Issue
Block a user