fix compiler warnings (GCC + Clang)
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
VoxelStructure::VoxelStructure(
|
||||
VoxelStructureMeta meta,
|
||||
std::unique_ptr<VoxelFragment> structure
|
||||
) : fragments({std::move(structure)}), meta(std::move(meta)) {}
|
||||
) : meta(std::move(meta)), fragments({std::move(structure)}) {}
|
||||
|
||||
GeneratorDef::GeneratorDef(std::string name)
|
||||
: name(std::move(name)), caption(util::id_to_caption(name)) {
|
||||
|
||||
Reference in New Issue
Block a user