Skip to content

Commit

Permalink
GCC build fix
Browse files Browse the repository at this point in the history
It's been too long, C++
  • Loading branch information
DDuarte committed Apr 18, 2017
1 parent 844755a commit a15985e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/database/Updater/DBUpdater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

1 comment on commit a15985e

@EgoSumThan
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All Hail Darude DDurate.

Please sign in to comment.