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

src\logging\eventlog.cpp(20): error C2664: #20

Open
xgdgsc opened this issue Aug 10, 2016 · 1 comment
Open

src\logging\eventlog.cpp(20): error C2664: #20

xgdgsc opened this issue Aug 10, 2016 · 1 comment

Comments

@xgdgsc
Copy link

xgdgsc commented Aug 10, 2016

When building with VS 2015, it shows error:

src\logging\eventlog.cpp(20): error C2664: 'std::chrono::time_point<std::chrono::steady_clock,std::chrono::steady_clock::duration>::time_point(std::chrono::time_point<std::chrono::steady_clock,std::chrono::steady_clock::duration> &&)': cannot convert argument 1 from 'std::chrono::system_clock::time_point' to 'const std::chrono::steady_clock::duration &'
1>  d:\apps\cpp.react-master\src\logging\eventlog.cpp(20): note: Reason: cannot convert from 'std::chrono::system_clock::time_point' to 'const std::chrono::steady_clock::duration'
1>  d:\apps\cpp.react-master\src\logging\eventlog.cpp(20): note: No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
@xgdgsc xgdgsc changed the title src\logging\eventlog.cpp(20): error C2664: 'std::chrono::time_point<std::chrono::steady_clock,std::chrono::steady_clock::duration>::time_point(std::chrono::time_point<std::chrono::steady_clock,std::chrono::steady_clock::duration> &&)': cannot convert argument 1 from 'std::chrono::system_clock::time_point' to 'const std::chrono::steady_clock::duration &' src\logging\eventlog.cpp(20): error C2664: Aug 10, 2016
@iSplasher
Copy link

iSplasher commented Feb 26, 2017

For anyone else getting this error. See #5
Related: #15

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