From 4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Sun, 18 Jun 2017 19:55:15 +0200 Subject: Cpp11 patchset 11: continue working on constructor style migration (#6004) --- src/mg_decoration.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'src/mg_decoration.cpp') diff --git a/src/mg_decoration.cpp b/src/mg_decoration.cpp index 1a469cd9c..b13ddbadb 100644 --- a/src/mg_decoration.cpp +++ b/src/mg_decoration.cpp @@ -67,21 +67,6 @@ size_t DecorationManager::placeAllDecos(Mapgen *mg, u32 blockseed, /////////////////////////////////////////////////////////////////////////////// - -Decoration::Decoration() -{ - mapseed = 0; - fill_ratio = 0; - sidelen = 1; - flags = 0; -} - - -Decoration::~Decoration() -{ -} - - void Decoration::resolveNodeNames() { getIdsFromNrBacklog(&c_place_on); @@ -330,13 +315,6 @@ int DecoSimple::getHeight() /////////////////////////////////////////////////////////////////////////////// - -DecoSchematic::DecoSchematic() -{ - schematic = NULL; -} - - size_t DecoSchematic::generate(MMVManip *vm, PcgRandom *pr, v3s16 p) { // Schematic could have been unloaded but not the decoration -- cgit v1.2.3