PartDesign: [skip ci] minor cosmetic changes
This commit is contained in:
@@ -1301,7 +1301,7 @@ App::DocumentObjectExecReturn *Hole::execute(void)
|
||||
}
|
||||
}
|
||||
|
||||
void Hole::addCounterType(const CutDimensionSet dimensions)
|
||||
void Hole::addCounterType(const CutDimensionSet& dimensions)
|
||||
{
|
||||
HoleCutTypeMap.emplace(dimensions.name, dimensions);
|
||||
const std::string &name = dimensions.name;
|
||||
|
||||
@@ -171,7 +171,7 @@ private:
|
||||
|
||||
std::map<std::string, CutDimensionSet> HoleCutTypeMap;
|
||||
|
||||
void addCounterType(const CutDimensionSet dimensions);
|
||||
void addCounterType(const CutDimensionSet& dimensions);
|
||||
bool isDynamicCounterbore(const std::string &holeCutType);
|
||||
bool isDynamicCountersink(const std::string &holeCutType);
|
||||
void updateHoleCutParams();
|
||||
|
||||
@@ -7,6 +7,12 @@
|
||||
#include <string> // string
|
||||
#include <vector> // vector
|
||||
|
||||
/*
|
||||
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
|
||||
SPDX-License-Identifier: MIT
|
||||
Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>.
|
||||
*/
|
||||
|
||||
/*!
|
||||
@brief namespace for Niels Lohmann
|
||||
@see https://github.com/nlohmann
|
||||
|
||||
Reference in New Issue
Block a user