From 88ec8a95231341e7962b85716510d414e9f0c424 Mon Sep 17 00:00:00 2001 From: clang-format-bot Date: Sun, 25 Sep 2022 15:29:15 +0200 Subject: [PATCH] Apply clang-format --- apps/opencs/model/world/infocollection.hpp | 5 ++++- components/debug/debugging.cpp | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/opencs/model/world/infocollection.hpp b/apps/opencs/model/world/infocollection.hpp index 1f745dc84d..4174d5f15c 100644 --- a/apps/opencs/model/world/infocollection.hpp +++ b/apps/opencs/model/world/infocollection.hpp @@ -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& newOrder) override; ///< Reorder the rows [baseIndex, baseIndex+newOrder.size()) according to the indices diff --git a/components/debug/debugging.cpp b/components/debug/debugging.cpp index 017d73a177..cfd3b75ba2 100644 --- a/components/debug/debugging.cpp +++ b/components/debug/debugging.cpp @@ -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