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

error: expected unqualified-id before 'const' in UserData.h lines 392 and 393 and fix (C++20) #9

Closed
AxeForge opened this issue Jun 23, 2021 · 1 comment

Comments

@AxeForge
Copy link

// problem
UserdataValue<T>(const UserdataValue<T>&);
UserdataValue<T> operator=(const UserdataValue<T>&);

// solution
UserdataValue(const UserdataValue&);
UserdataValue operator=(const UserdataValue&);

I was able to figure out the solution per stackoverflow answer:
https://stackoverflow.com/a/67698585

@kunitoki
Copy link
Owner

Fix on master

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