1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fix building with Boost 1.58.

This commit is contained in:
Rohit Nirmal
2015-05-06 19:16:51 -05:00
parent b8a6455b39
commit aa00fdbd0e
3 changed files with 3 additions and 3 deletions

View File

@@ -671,7 +671,7 @@ boost::optional<std::vector<CArtifact*>&> CArtHandler::listFromClass( CArtifact:
case CArtifact::ART_RELIC:
return relics;
default: //special artifacts should not be erased
return nullptr;
return boost::optional<std::vector<CArtifact*>&>();
}
}