Skip to content

Commit 1c2fb71

Browse files
committed
lineunstructured: avoid duplicating base class functions
1 parent 552890e commit 1c2fb71

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/lineunstructured/lineunstructured.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -152,20 +152,6 @@ std::unique_ptr<PatchKernel> LineUnstructured::clone() const
152152
return std::unique_ptr<LineUnstructured>(new LineUnstructured(*this));
153153
}
154154

155-
/*!
156-
* Enables or disables expert mode.
157-
*
158-
* When expert mode is enabled, it will be possible to change the
159-
* patch using low level functions (e.g., it will be possible to
160-
* add individual cells, add vertices, delete cells, ...).
161-
*
162-
* \param expert if true, the expert mode will be enabled
163-
*/
164-
void LineUnstructured::setExpert(bool expert)
165-
{
166-
LineKernel::setExpert(expert);
167-
}
168-
169155
/*!
170156
* Get the version associated to the binary dumps.
171157
*

src/lineunstructured/lineunstructured.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class LineUnstructured : public LineKernel {
5555
std::unique_ptr<PatchKernel> clone() const override;
5656

5757
// Setters
58-
void setExpert(bool expert);
58+
using LineKernel::setExpert;
5959

6060
// Search algorithms
6161
long locatePoint(const std::array<double, 3> &point) const override;

0 commit comments

Comments
 (0)