ToolOrdering: Removed unused parameter.

This commit is contained in:
bubnikv 2020-01-09 10:32:52 +01:00
parent c0b90f68ab
commit cc2b9b8849
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ void ToolOrdering::initialize_layers(std::vector<coordf_t> &zs)
coordf_t zmax = zs[i] + EPSILON;
for (; j < zs.size() && zs[j] <= zmax; ++ j) ;
// Assign an average print_z to the set of layers with nearly equal print_z.
m_layer_tools.emplace_back(LayerTools(0.5 * (zs[i] + zs[j-1]), m_print_config_ptr));
m_layer_tools.emplace_back(LayerTools(0.5 * (zs[i] + zs[j-1])));
i = j;
}
}

View File

@ -73,7 +73,7 @@ private:
class LayerTools
{
public:
LayerTools(const coordf_t z, const PrintConfig* print_config_ptr = nullptr) :
LayerTools(const coordf_t z) :
print_z(z),
has_object(false),
has_support(false),