mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
This commit is contained in:
@ -18,7 +18,7 @@
|
||||
#include "../../lib/networkPacks/PacksForServer.h"
|
||||
|
||||
template <typename Container>
|
||||
std::string formatContainer(const Container & c, std::string delimeter = ", ", std::string opener = "(", std::string closer=")")
|
||||
std::string formatContainer(const Container & c, std::string delimiter = ", ", std::string opener = "(", std::string closer=")")
|
||||
{
|
||||
std::string ret = opener;
|
||||
auto itr = std::begin(c);
|
||||
@ -27,7 +27,7 @@ std::string formatContainer(const Container & c, std::string delimeter = ", ", s
|
||||
ret += std::to_string(*itr);
|
||||
while(++itr != std::end(c))
|
||||
{
|
||||
ret += delimeter;
|
||||
ret += delimiter;
|
||||
ret += std::to_string(*itr);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user