[DiscordArchive] not sure if it's the cleanest solution though, but I was thinking the same thing about the parameter
[DiscordArchive] not sure if it's the cleanest solution though, but I was thinking the same thing about the parameter
Archived author: MishaParem • Posted: 2020-05-12T14:29:51.431000+00:00
Original source
not sure if it's the cleanest solution though, but I was thinking the same thing about the parameters when I tried this solution. your thoughts, <@!108617457836539904> ?
Archived author: Yehonal • Posted: 2020-05-12T14:31:38.805000+00:00
Original source
you should have "not-used" params warning in that case instead
Archived author: Yehonal • Posted: 2020-05-12T14:31:46.535000+00:00
Original source
uhm no wait
Archived author: Yehonal • Posted: 2020-05-12T14:32:03.534000+00:00
Original source
you removed the variables, yep can work
Archived author: MishaParem • Posted: 2020-05-12T14:33:04.882000+00:00
Original source
but now I get a flat out error on compile a few lines lower in Spline.cpp:
> src/server/game/Movement/Spline/Spline.cpp:35:36: error: no matches converting function ‘UninitializedSpline’ to type ‘Movement::SplineBase::SegLenghtMethtod’ {aka ‘float (class Movement::SplineBase::*)(int) const’}
> 35 | (SegLenghtMethtod)&SplineBase::UninitializedSpline,
Archived author: Yehonal • Posted: 2020-05-12T14:33:15.397000+00:00
Original source
if you can, please use the standard way to deal with such syntax: typeOfParam /* nameOfVariable*/
Archived author: Yehonal • Posted: 2020-05-12T14:33:34.946000+00:00
Original source
coz it's still a void
Archived author: Yehonal • Posted: 2020-05-12T14:33:42.543000+00:00
Original source
i guess
Archived author: Yehonal • Posted: 2020-05-12T14:33:47.830000+00:00
Original source
i don't have the code now
Archived author: MishaParem • Posted: 2020-05-12T14:34:09.342000+00:00
Original source
ok, I'll try to look up the varanames in a min