mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Avoid boost::optional assignment for Boost 1.64 compatibility (#360)
Two options here: to use emplace from 1.56 or boost::make_optional. Unfortunately Ubuntu 14.04 is using 1.54 and I'd rather not to break it.
This commit is contained in:
@ -701,7 +701,7 @@ void BattleAttack::applyCl(CClient *cl)
|
||||
|
||||
void StartAction::applyFirstCl(CClient *cl)
|
||||
{
|
||||
cl->curbaction = ba;
|
||||
cl->curbaction = boost::make_optional(ba);
|
||||
BATTLE_INTERFACE_CALL_IF_PRESENT_FOR_BOTH_SIDES(actionStarted, ba);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user