X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FBlockTypeRegistry.hpp;h=6612d1516e72c893298f21ed193830a15fdd5671;hb=e4a1425dccd0ba9b106e415dd02809f4308a85ee;hp=9d9597dde0716348245f8a3e4d0622b008b50d8c;hpb=9240fdf2e68ee014da0d0a89a7fb2f29ebf28e2d;p=blank.git diff --git a/src/world/BlockTypeRegistry.hpp b/src/world/BlockTypeRegistry.hpp index 9d9597d..6612d15 100644 --- a/src/world/BlockTypeRegistry.hpp +++ b/src/world/BlockTypeRegistry.hpp @@ -20,7 +20,7 @@ public: public: BlockTypeRegistry(); - Block::Type Add(const BlockType &); + Block::Type Add(BlockType &&); size_t size() const noexcept { return types.size(); }