summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-16 16:06:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-16 16:06:17 +0300
commit1b28203031aec74f7a11a46fb5267f642ae5fab2 (patch)
treeef907d1a54132db7704e10a633925182edbe2fb5 /src/resources/db
parent0977134ffdad9ea0e79106fc633ebafd18209765 (diff)
downloadplus-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.gz
plus-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.bz2
plus-1b28203031aec74f7a11a46fb5267f642ae5fab2.tar.xz
plus-1b28203031aec74f7a11a46fb5267f642ae5fab2.zip
Fix code style.
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/npcdialogdb.h2
-rw-r--r--src/resources/db/skillunitdb.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/db/npcdialogdb.h b/src/resources/db/npcdialogdb.h
index 42de958e8..f0c190021 100644
--- a/src/resources/db/npcdialogdb.h
+++ b/src/resources/db/npcdialogdb.h
@@ -26,8 +26,6 @@
#include "localconsts.h"
-class Widget;
-
struct NpcDialogInfo;
/**
diff --git a/src/resources/db/skillunitdb.cpp b/src/resources/db/skillunitdb.cpp
index c2131eca4..a92748f45 100644
--- a/src/resources/db/skillunitdb.cpp
+++ b/src/resources/db/skillunitdb.cpp
@@ -69,7 +69,8 @@ void SkillUnitDb::loadXmlFile(const std::string &fileName)
{
if (xmlNameEqual(skillUnitNode, "include"))
{
- const std::string name = XML::getProperty(skillUnitNode, "name", "");
+ const std::string name = XML::getProperty(skillUnitNode,
+ "name", "");
if (!name.empty())
loadXmlFile(name);
continue;