Skip to content

Commit

Permalink
Code format - (Clang-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 31, 2023
1 parent 9011074 commit 75d1b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/items/containers/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ std::deque<Item*> Container::getStoreInboxFilteredItems() const {

phmap::flat_hash_set<StoreInboxCategory_t> Container::getStoreInboxValidCategories() const {
phmap::flat_hash_set<StoreInboxCategory_t> validCategories;
for (const auto& item : itemlist) {
for (const auto &item : itemlist) {
auto attribute = item->getCustomAttribute("unWrapId");
uint16_t unWrapId = attribute ? static_cast<uint16_t>(attribute->getInteger()) : 0;
if (unWrapId != 0) {
Expand Down
2 changes: 1 addition & 1 deletion src/server/network/protocol/protocolgame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4312,7 +4312,7 @@ void ProtocolGame::sendContainer(uint8_t cid, const Container* container, bool h
if (category.has_value()) {
bool toSendCategory = false;
// Check if category exist in the deque
for (const auto& tempCategory : categories) {
for (const auto &tempCategory : categories) {
if (tempCategory == category.value()) {
toSendCategory = true;
g_logger().debug("found category {}", toSendCategory);
Expand Down

0 comments on commit 75d1b71

Please sign in to comment.