Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template error message in VS2019 #5

Closed
mmallmann opened this issue May 20, 2020 · 1 comment
Closed

Template error message in VS2019 #5

mmallmann opened this issue May 20, 2020 · 1 comment

Comments

@mmallmann
Copy link

Hello,

I am getting the following error messages when I compile demBones in VS2019:

Error: Dem::DemBones: use of class templates requires template argument list

Error C2352 'Dem::DemBones<_Scalar,_AniMeshScalar>::clear': illegal call of non-static member function cmt C:\Users\max\source\repos\cmt\src\DemBones\DemBonesExt.h 108

The line error is in bold text.

DemBonesExt.h
...
/** @brief Clear all data
*/
void clear() {
fTime.resize(0);
boneName.resize(0);
parent.resize(0);
bind.resize(0, 0);
preMulInv.resize(0, 0);
rotOrder.resize(0, 0);
DemBones::clear();
}

Any idea?
Thx,
Max

@binhhuyle
Copy link
Contributor

Fixed in v1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants