Skip to content
Snippets Groups Projects
Commit 6826c645 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

corr

parent 5b4aeab7
No related branches found
No related tags found
1 merge request!455clang-tidy ctd
Pipeline #49235 passed
......@@ -97,6 +97,7 @@ Checks: '*,
-*use-auto,
-*move-const-arg,
-*use-equals-default,
-*use-nullptr,
-*use-override,
-bugprone-parent-virtual-call,
......@@ -112,6 +113,7 @@ Checks: '*,
-hicpp-noexcept-move,
-llvm-qualified-auto,
-misc-non-private-member-variables-in-classes,
-misc-uniqueptr-reset-release,
-modernize-loop-convert,
-modernize-make-unique,
-modernize-pass-by-value,
......@@ -120,11 +122,12 @@ Checks: '*,
-modernize-use-using,
-performance-for-range-copy,
-readability-avoid-const-params-in-decls,
-readability-const-return-type,
-readability-non-const-parameter,
-readability-container-size-empty,
-readability-delete-null-pointer,
-readability-inconsistent-declaration-parameter-name,
-readability-qualified-auto,
-readability-const-return-type,
-readability-redundant-member-init,
-readability-simplify-boolean-expr,
......
......@@ -24,7 +24,7 @@ public:
using polygon_t = boost::geometry::model::polygon<point_t>;
polygon_t polygon;
void init_from(const std::vector<double>& x, const std::vector<double>& y);
void get_points(const std::vector<double>& xpos, const std::vector<double>& ypos);
void get_points(std::vector<double>& xpos, std::vector<double>& ypos); // TODO const or no-&
};
void PolygonPrivate::init_from(const std::vector<double>& x, const std::vector<double>& y)
......@@ -40,7 +40,7 @@ void PolygonPrivate::init_from(const std::vector<double>& x, const std::vector<d
boost::geometry::correct(polygon);
}
void PolygonPrivate::get_points(const std::vector<double>& xpos, const std::vector<double>& ypos)
void PolygonPrivate::get_points(std::vector<double>& xpos, std::vector<double>& ypos)
{
xpos.clear();
ypos.clear();
......
......@@ -2261,7 +2261,7 @@ The private data for polygons to hide boost dependency from the header.
%feature("docstring") PolygonPrivate::init_from "void PolygonPrivate::init_from(const std::vector< double > &x, const std::vector< double > &y)
";
%feature("docstring") PolygonPrivate::get_points "void PolygonPrivate::get_points(std::vector< double > &xpos, std::vector< double > &ypos)
%feature("docstring") PolygonPrivate::get_points "void PolygonPrivate::get_points(const std::vector< double > &xpos, const std::vector< double > &ypos)
";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment