Remove implicit conversion operator from RString to const char* (macOS)

Tested via CI (don't have a Mac).
This commit is contained in:
sukibaby
2025-05-22 20:08:56 -07:00
committed by teejusb
parent 7405eea171
commit 6a29f651c7
12 changed files with 32 additions and 24 deletions
+1 -1
View File
@@ -414,7 +414,7 @@ static void ChangeToDirOfExecutable( const RString &argv0 )
* through a symlink. Assume this is the case and change to the dir of the symlink. */
if( Basename(RageFileManagerUtil::sDirOfExecutable) == "MacOS" )
CollapsePath( RageFileManagerUtil::sDirOfExecutable += "/../../../" );
if( chdir( RageFileManagerUtil::sDirOfExecutable ) )
if( chdir( RageFileManagerUtil::sDirOfExecutable.c_str() ) )
#endif
{
LOG->Warn("Can't set current working directory to %s", RageFileManagerUtil::sDirOfExecutable.c_str());