Skip to content

Commit c514002

Browse files
committed
surfunstructured: avoid duplicating base class functions
1 parent 1c2fb71 commit c514002

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/surfunstructured/surfunstructured.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -161,20 +161,6 @@ std::unique_ptr<PatchKernel> SurfUnstructured::clone() const
161161
return std::unique_ptr<SurfUnstructured>(new SurfUnstructured(*this));
162162
}
163163

164-
/*!
165-
* Enables or disables expert mode.
166-
*
167-
* When expert mode is enabled, it will be possible to change the
168-
* patch using low level functions (e.g., it will be possible to
169-
* add individual cells, add vertices, delete cells, ...).
170-
*
171-
* \param expert if true, the expert mode will be enabled
172-
*/
173-
void SurfUnstructured::setExpert(bool expert)
174-
{
175-
SurfaceKernel::setExpert(expert);
176-
}
177-
178164
/*!
179165
* Get the version associated to the binary dumps.
180166
*

src/surfunstructured/surfunstructured.hpp

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

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

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

0 commit comments

Comments
 (0)