summaryrefslogtreecommitdiff
path: root/src/mods.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-08-19 09:29:55 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-08-19 09:29:55 +0200
commitd382483fa76028c2d34f75067bff45306c6da34e (patch)
tree1a8928995f3e7e15a5fc8834ee2127735b0e0ec6 /src/mods.cpp
parentb5f7249a7edc25077d84b27b38552228b92ff763 (diff)
downloadminetest-d382483fa76028c2d34f75067bff45306c6da34e.tar.gz
minetest-d382483fa76028c2d34f75067bff45306c6da34e.tar.bz2
minetest-d382483fa76028c2d34f75067bff45306c6da34e.zip
Code modernization: src/m* (part 3)
* empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove some unused headers in some cpp variable
Diffstat (limited to 'src/mods.cpp')
-rw-r--r--src/mods.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mods.cpp b/src/mods.cpp
index d28288a89..148ea6c53 100644
--- a/src/mods.cpp
+++ b/src/mods.cpp
@@ -19,13 +19,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <cctype>
#include <fstream>
+#include <json/json.h>
#include "mods.h"
#include "filesys.h"
#include "log.h"
#include "subgame.h"
#include "settings.h"
-#include "convert_json.h"
-#include "exceptions.h"
#include "porting.h"
static bool parseDependsLine(std::istream &is,