From 90132a83c309b5ae0c699e4fbbb7c62656321301 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Jun 2017 21:29:47 +0300 Subject: Fix code style. --- src/utils/browserboxtools.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils/browserboxtools.cpp') diff --git a/src/utils/browserboxtools.cpp b/src/utils/browserboxtools.cpp index e3045c9ee..a8c2b6b3f 100644 --- a/src/utils/browserboxtools.cpp +++ b/src/utils/browserboxtools.cpp @@ -85,7 +85,7 @@ std::string BrowserBoxTools::replaceLinkCommands(const std::string &link) { // monster link const BeingTypeId id = static_cast( atoi(link.substr(1).c_str())); - BeingInfo *info = MonsterDB::get(id); + BeingInfo *const info = MonsterDB::get(id); if (info != nullptr) data = info->getName(); } @@ -93,7 +93,7 @@ std::string BrowserBoxTools::replaceLinkCommands(const std::string &link) { // pet link const BeingTypeId id = static_cast( atoi(link.substr(1).c_str())); - BeingInfo *info = PETDB::get(id); + BeingInfo *const info = PETDB::get(id); if (info != nullptr) data = info->getName(); } @@ -101,7 +101,7 @@ std::string BrowserBoxTools::replaceLinkCommands(const std::string &link) { // homunculus link const BeingTypeId id = static_cast( atoi(link.substr(1).c_str())); - BeingInfo *info = HomunculusDB::get(id); + BeingInfo *const info = HomunculusDB::get(id); if (info != nullptr) data = info->getName(); } @@ -109,7 +109,7 @@ std::string BrowserBoxTools::replaceLinkCommands(const std::string &link) { // mercenary link const BeingTypeId id = static_cast( atoi(link.substr(1).c_str())); - BeingInfo *info = MercenaryDB::get(id); + BeingInfo *const info = MercenaryDB::get(id); if (info != nullptr) data = info->getName(); } -- cgit v1.2.3-70-g09d2