Revert "fix: optimization: Various PVS-Studio warnings"
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
Inventories::Inventories(Level& level) : level(level) {
|
||||
}
|
||||
|
||||
Inventories::~Inventories() = default;
|
||||
Inventories::~Inventories() {
|
||||
}
|
||||
|
||||
std::shared_ptr<Inventory> Inventories::create(size_t size) {
|
||||
int64_t id = level.getWorld()->getNextInventoryId();
|
||||
|
||||
@@ -38,8 +38,8 @@ struct ItemDef {
|
||||
|
||||
struct {
|
||||
itemid_t id;
|
||||
blockid_t placingBlock;
|
||||
item_funcs_set funcsset {};
|
||||
blockid_t placingBlock;
|
||||
bool emissive = false;
|
||||
} rt {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user