X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fapp%2Fapp.cpp;h=dc4869a46191417735b008b9faf95a66a79a09d0;hb=ed3bdc028edc0ecb5835d1c0bf18dbc59b342daf;hp=2b1a494efadbd20424a22886b57e93c6c2828478;hpb=73d4dd2d78eda1e2f8889d1913a97a60cec86876;p=blank.git diff --git a/src/app/app.cpp b/src/app/app.cpp index 2b1a494..dc4869a 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -328,7 +328,7 @@ void AssetLoader::LoadBlockTypes( BlockType type; type.Read(in, snd_index, tex_index, shapes); in.Skip(Token::SEMICOLON); - reg.Add(type); + reg.Add(std::move(type)); } }