PartDesign: [skip ci] minor cosmetic changes

This commit is contained in:
wmayer
2020-10-31 13:32:18 +01:00
parent 6d1b292280
commit 9eb080488d
4 changed files with 10 additions and 4 deletions

View File

@@ -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;

View File

@@ -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();

View File

@@ -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