diff options
Diffstat (limited to 'src/mesh_generator_thread.h')
-rw-r--r-- | src/mesh_generator_thread.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesh_generator_thread.h b/src/mesh_generator_thread.h index 7df9a4e26..9a42852a3 100644 --- a/src/mesh_generator_thread.h +++ b/src/mesh_generator_thread.h @@ -32,7 +32,7 @@ struct CachedMapBlockData int refcount_from_queue = 0; std::time_t last_used_timestamp = std::time(0); - CachedMapBlockData() {} + CachedMapBlockData() = default; ~CachedMapBlockData(); }; @@ -45,7 +45,7 @@ struct QueuedMeshUpdate v3s16 crack_pos; MeshMakeData *data = nullptr; // This is generated in MeshUpdateQueue::pop() - QueuedMeshUpdate(){}; + QueuedMeshUpdate() = default; ~QueuedMeshUpdate(); }; @@ -105,7 +105,7 @@ struct MeshUpdateResult MapBlockMesh *mesh = nullptr; bool ack_block_to_server = false; - MeshUpdateResult() {} + MeshUpdateResult() = default; }; class MeshUpdateThread : public UpdateThread |