1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

vcmi: modernize lib/spells (except adventure one, needs major rework)

This commit is contained in:
Konstantin
2023-02-11 18:18:05 +03:00
parent 8661496f6c
commit 97fc424e98
13 changed files with 100 additions and 208 deletions

View File

@@ -18,19 +18,9 @@ namespace spells
namespace detail
{
ProblemImpl::ProblemImpl()
{
}
ProblemImpl::~ProblemImpl()
{
}
void ProblemImpl::add(MetaString && description, Severity severity)
{
data.push_back(std::make_pair(description, severity));
data.emplace_back(description, severity);
}
void ProblemImpl::getAll(std::vector<std::string> & target) const