yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #22420
[Question #689103]: deprec flag
New question #689103 on Yade:
https://answers.launchpad.net/yade/+question/689103
Hi,
I want to rename the parameter KnKsPhys.viscousDamping to KnKsPhys.betan without breaking backwards compatibility.
I tried changing the macro to: YADE_CLASS_BASE_DOC_ATTRS_DEPREC_CTOR(KnKsPhys, ... ) and follow the docs, but I get a compilation error, where the attrs of the class are not recognised.
Is the "deprec" flag still in use? It is documented in [1], but the macro is no longer included in the options of [1] and I could only find a single use of deprec in the source code [2].
Many thanks, Vasileios
[1] https://yade-dem.org/doc/prog.html#yade-class-base-doc-macro-family
[2] https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/pfv/FlowEngine.hpp.in#L314
--
You received this question notification because your team yade-users is
an answer contact for Yade.