diff options
author | DDuarte <dnpd.dd@gmail.com> | 2017-04-18 21:38:47 +0100 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2017-04-18 21:38:47 +0100 |
commit | a15985edc620d2ecbd9a44f13f6fec15e13b338d (patch) | |
tree | c8fdf0ac84816c94c17c826d9300e9e7fe0ea1d1 /src | |
parent | 844755aa07b4a7f9f2f0c49f351a817198c9a56a (diff) |
GCC build fix
It's been too long, C++
Diffstat (limited to 'src')
-rw-r--r-- | src/server/database/Updater/DBUpdater.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/database/Updater/DBUpdater.cpp b/src/server/database/Updater/DBUpdater.cpp index 2c26c3d960c..63257571177 100644 --- a/src/server/database/Updater/DBUpdater.cpp +++ b/src/server/database/Updater/DBUpdater.cpp @@ -319,8 +319,8 @@ bool DBUpdater<T>::Populate(DatabaseWorkerPool<T>& pool) } case LOCATION_DOWNLOAD: { - std::string filename = base.filename().generic_string().c_str(); - std::string workdir = boost::filesystem::current_path().generic_string().c_str(); + const char* filename = base.filename().generic_string().c_str(); + const char* workdir = boost::filesystem::current_path().generic_string().c_str(); TC_LOG_ERROR("sql.updates", ">> File \"%s\" is missing, download it from \"https://github.com/TrinityCore/TrinityCore/releases\"" \ " uncompress it and place the file \"%s\" in the directory \"%s\".", filename, filename, workdir); break; |