Compile error in bzr8754[trunk] save_handler.cc on OSX
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Just tried to compile trunk on OSX and got:
[ 92%] Building CXX object src/logic/
.../trunk/
std:
std:
std:
/Applications/
function not viable: no known conversion from 'std::_
>
std:
_LIBCPP_
/Applications/
function not viable: 'this' argument has type 'const std::__
std:
>
_LIBCPP_
Travis ist still pending https:/
Not sure if this is a broken automatic merge from bug-1678987-save-handler.
Related branches
- GunChleoc: Pending requested
-
Diff: 19 lines (+4/-3)1 file modifiedsrc/logic/player.cc (+4/-3)
Changed in widelands: | |
assignee: | Klaus Halfmann (klaus-halfmann) → nobody |
status: | In Progress → Fix Committed |
From: https:/ /code.launchpad .net/~widelands -dev/widelands/ bug-1678987- save-handler/ +merge/ 349096
Correct: stats[ware_ index][ stats[ware_ index]. size() - 1];
Failure: stats[ware_ index][ stats[ware_ index]. rbegin( )];
Gun: looks like your fix for the codecheck, was the wrong one?
I will have to medidate what the correct syntax might be.