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

Fixed the compiler error of C2664 #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

007havegone
Copy link

Env Viual studio 17 2022, cmake 3.30.4
After using the cmake .. -G "Visual Studio 17 2022" -A x64 -DCMAKE_CXX_COMPILER=cl to genetor the build directory and sln file.
Complie will meet this error

error C2664: 'auto std::make_format_args<std::format_context,const std::string,double,const T,const T>(const std::string &,double &,const T &,const T &)': cannot convert argument 2 from 'double' to 'double &

Add the menber function to solve this problem.

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

Successfully merging this pull request may close these issues.

1 participant