From f146cd42ce84a08879eb286ecd2ed2aa8ad82300 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 28 Feb 2014 15:46:02 +0300 Subject: fix code style. --- src/resources/db/weaponsdb.cpp | 7 +------ src/resources/db/weaponsdb.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'src/resources/db') 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 #include #include "localconsts.h" -- cgit v1.2.3-70-g09d2