It wasn't working as planned, so it is deprecated.
Details
Details
- Reviewers
tcanabrava apol - Group Reviewers
KDE Edu - Commits
- R323:1af7c48a2df4: Deprecating rotation function
Diff Detail
Diff Detail
- Repository
- R323 Analitza
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
That's not how we deprecate in C++.
You'll want to use ANALITZAPLOT_DEPRECATED_EXPORT on the method declaration.
Comment Actions
Well, it kinda is (as it's a new way to deprecate methods in C++ since C++14)
https://en.cppreference.com/w/cpp/language/attributes/deprecated
The actual error is that she added this to the cpp instead of the header. Also, grepping for DEPRECATED on kalgebra / analitza only showted ANALITZAWIDGETS_DEPRECATED_EXPORT, but no define. is this generated by CMake ?