Skip to content

Commit d5be9c2

Browse files
authored
Update StelFader.hpp (#4217)
Explicitly inheriting the operator = from LinearFader. Not an error but produces a lot of warnings and might potentially cause an issue in the future.
1 parent 9ab0de7 commit d5be9c2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/core/StelFader.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ class LinearFader : public StelFader
139139
class ParabolicFader : public LinearFader
140140
{
141141
public:
142+
// Bring LinearFader::operator= into scope
143+
// which is hidden due to function name hiding rules
144+
using LinearFader::operator=;
142145
// Create and initialise to default
143146
ParabolicFader(int _duration=1000, bool initialState=false)
144147
: LinearFader(_duration, initialState)

0 commit comments

Comments
 (0)