Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixed compilation with MSVC 14.28.29333 from VS2019 16.8.0
include\algorithm(7419,17): error C3892: '_First': you cannot assign to a variable that is const (compiling source file src\rendering\hwrenderer\scene\hw_drawlist.cpp)
- Loading branch information
013078a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That error message is useless, what's the problem in hw_drawlist.cpp then?
013078a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no problem in hw_drawlist.cpp. The error was caused by operator*() having incorrect const declarations which the sort function could not use.
013078a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, i meant i wanted to know if the legacy branches were affected.
013078a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they use the same tarray.h, yes. That bug is relatively old.