summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-23 21:29:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-23 21:29:47 +0300
commit90132a83c309b5ae0c699e4fbbb7c62656321301 (patch)
tree9bd6bbac6df7cfcd67d30535d30ef1b8bd25ab3f /src/utils
parent9c1e1e3c8af21342da1bdf616a800ff373cad433 (diff)
downloadplus-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.gz
plus-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.bz2
plus-90132a83c309b5ae0c699e4fbbb7c62656321301.tar.xz
plus-90132a83c309b5ae0c699e4fbbb7c62656321301.zip
Fix code style.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/browserboxtools.cpp8
1 files changed, 4 insertions, 4 deletions
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<BeingTypeId>(
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<BeingTypeId>(
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<BeingTypeId>(
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<BeingTypeId>(
atoi(link.substr(1).c_str()));
- BeingInfo *info = MercenaryDB::get(id);
+ BeingInfo *const info = MercenaryDB::get(id);
if (info != nullptr)
data = info->getName();
}