Commit fffde6ed authored by mattijs's avatar mattijs
Browse files

explicit constructors

parent 6ae8581d
...@@ -69,7 +69,7 @@ public: ...@@ -69,7 +69,7 @@ public:
// Constructors // Constructors
//- Construct from components. Holds reference to points! //- Construct from components. Holds reference to points!
octreeDataPoint(const pointField&); explicit octreeDataPoint(const pointField&);
// Member Functions // Member Functions
......
...@@ -170,11 +170,11 @@ public: ...@@ -170,11 +170,11 @@ public:
inline treeBoundBox(const point& min, const point& max); inline treeBoundBox(const point& min, const point& max);
//- Construct from components //- Construct from components
inline treeBoundBox(const boundBox& bb); explicit inline treeBoundBox(const boundBox& bb);
//- Construct as the bounding box of the given pointField. //- Construct as the bounding box of the given pointField.
// Local processor domain only (no reduce as in boundBox) // Local processor domain only (no reduce as in boundBox)
treeBoundBox(const UList<point>&); explicit treeBoundBox(const UList<point>&);
//- Construct as subset of points //- Construct as subset of points
// Local processor domain only (no reduce as in boundBox) // Local processor domain only (no reduce as in boundBox)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment