1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-25 18:15:00 +00:00

Apply clang-format

This commit is contained in:
clang-format-bot 2022-09-25 15:29:15 +02:00 committed by elsid
parent ba04d1530e
commit 88ec8a9523
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625
2 changed files with 8 additions and 2 deletions

View File

@ -56,7 +56,10 @@ namespace CSMWorld
/// Works like getAppendIndex unless an overloaded method uses the record pointer
/// to get additional info about the record that results in an alternative index.
int getAppendIndex (const std::string& id, UniversalId::Type type) const override { return getInsertIndex(id, type); }
int getAppendIndex(const std::string& id, UniversalId::Type type) const override
{
return getInsertIndex(id, type);
}
bool reorderRows(int baseIndex, const std::vector<int>& newOrder) override;
///< Reorder the rows [baseIndex, baseIndex+newOrder.size()) according to the indices

View File

@ -165,7 +165,10 @@ namespace Debug
CurrentDebugLevel = Verbose;
}
virtual std::streamsize writeImpl(const char* str, std::streamsize size, Level debugLevel) { return size; }
virtual std::streamsize writeImpl(const char* str, std::streamsize size, Level debugLevel)
{
return size;
}
};
#if defined _WIN32 && defined _DEBUG