Some more de-boosting

pull/2182/head
Capostrophic 6 years ago
parent 8ecd0b82a4
commit e70cc10305

@ -1,7 +1,8 @@
#include "adjusterwidget.hpp"
#include <components/misc/stringops.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string/case_conv.hpp>
#include <QHBoxLayout>
#include <QLabel>
@ -70,8 +71,7 @@ void CSVDoc::AdjusterWidget::setName (const QString& name, bool addon)
{
boost::filesystem::path path (name.toUtf8().data());
std::string extension = path.extension().string();
boost::algorithm::to_lower(extension);
std::string extension = Misc::StringUtils::lowerCase(path.extension().string());
bool isLegacyPath = (extension == ".esm" ||
extension == ".esp");

@ -1,7 +1,5 @@
#include "terrainstorage.hpp"
#include <boost/algorithm/string.hpp>
#include "../mwbase/world.hpp"
#include "../mwbase/environment.hpp"
#include "../mwworld/esmstore.hpp"

@ -3,8 +3,6 @@
#include <components/debug/debuglog.hpp>
#include <components/files/escape.hpp>
#include <boost/algorithm/string/erase.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/filesystem/fstream.hpp>
/**
* \namespace Files

Loading…
Cancel
Save