summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db')
-rw-r--r--src/resources/db/weaponsdb.cpp7
-rw-r--r--src/resources/db/weaponsdb.h1
2 files changed, 1 insertions, 7 deletions
diff --git a/src/resources/db/weaponsdb.cpp b/src/resources/db/weaponsdb.cpp
index 82892cc5f..6e8e4ce1f 100644
--- a/src/resources/db/weaponsdb.cpp
+++ b/src/resources/db/weaponsdb.cpp
@@ -20,13 +20,8 @@
#include "resources/db/weaponsdb.h"
-#include "logger.h"
-
-#include "utils/gettext.h"
#include "utils/xmlutils.h"
-#include "configuration.h"
-
#include "debug.h"
namespace
@@ -37,7 +32,7 @@ namespace
bool mLoaded = false;
}
-static void loadDB(const std::string name, WeaponsInfos &arr)
+static void loadDB(const std::string &name, WeaponsInfos &arr)
{
readXmlIntVector("weapons.xml",
"weapons",
diff --git a/src/resources/db/weaponsdb.h b/src/resources/db/weaponsdb.h
index 287237c48..33688b338 100644
--- a/src/resources/db/weaponsdb.h
+++ b/src/resources/db/weaponsdb.h
@@ -21,7 +21,6 @@
#ifndef RESOURCES_DB_WEAPONSDB_H
#define RESOURCES_DB_WEAPONSDB_H
-#include <string>
#include <vector>
#include "localconsts.h"