Fix code style

1008-fix
krzys-h 2018-05-08 19:44:24 +02:00
parent 5283865a5c
commit db72a36315
3 changed files with 10 additions and 8 deletions

View File

@ -26,7 +26,8 @@
namespace CBot
{
namespace {
namespace
{
template <typename L, typename R>
boost::bimap<L, R> makeBimap(std::initializer_list<typename boost::bimap<L, R>::value_type> list)
{
@ -450,7 +451,8 @@ std::unique_ptr<CBotToken> CBotToken::CompileTokens(const std::string& program)
int CBotToken::GetKeyWord(const std::string& w)
{
auto it = KEYWORDS.right.find(w);
if (it != KEYWORDS.right.end()) {
if (it != KEYWORDS.right.end())
{
return it->second;
}