Browse Source

thanks, clang-tidy

opengl-renderer-broken
Martin Dørum 4 years ago
parent
commit
76a759d2d0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      libswan/include/swan/ItemStack.h

+ 2
- 2
libswan/include/swan/ItemStack.h View File

@@ -16,8 +16,8 @@ public:

// We don't want a "partially empty" state.
if (item == nullptr || count == 0) {
item = nullptr;
count = 0;
item_ = nullptr;
count_ = 0;
}
}


Loading…
Cancel
Save