Switch to rbegin() since std::string::back() is a C++11-ism

This commit is contained in:
brc0x1 2017-08-25 08:12:20 -07:00
parent 236d67b941
commit 79933005b7
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ static void FillOutConfigInfo(cTWModeCommon* pModeInfo, const cConfigFile& cf)
// make sure we have a trailing slash -- thanks Jarno...
//
if (temp_directory.back() != '/')
if (*temp_directory.rbegin() != '/')
{
temp_directory.push_back('/');
}